Page MenuHomestyx hydra

PhabricatorAuthProviderOAuthDisqus.php
No OneTemporary

PhabricatorAuthProviderOAuthDisqus.php

<?php
final class PhabricatorAuthProviderOAuthDisqus
extends PhabricatorAuthProviderOAuth {
public function getProviderName() {
return pht('Disqus');
}
public function getConfigurationHelp() {
$login_uri = $this->getLoginURI();
return pht(
"To configure Disqus OAuth, create a new application here:".
"\n\n".
"http://disqus.com/api/applications/".
"\n\n".
"Create an application, then adjust these settings:".
"\n\n".
" - **Callback URL:** Set this to `%s`".
"\n\n".
"After creating an application, copy the **Public Key** and ".
"**Secret Key** to the fields above (the **Public Key** goes in ".
"**OAuth App ID**).",
$login_uri);
}
protected function newOAuthAdapter() {
return new PhutilAuthAdapterOAuthDisqus();
}
protected function getLoginIcon() {
return 'Disqus';
}
}

File Metadata

Mime Type
text/x-php
Expires
Wed, Feb 4, 12:12 PM (1 d, 6 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
714410
Default Alt Text
PhabricatorAuthProviderOAuthDisqus.php (893 B)

Event Timeline