Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php final class PhabricatorDisqusAuthProvider extends PhabricatorOAuth2AuthProvider {..
Decoded Output download
<?php
final class PhabricatorDisqusAuthProvider
extends PhabricatorOAuth2AuthProvider {
public function getProviderName() {
return pht('Disqus');
}
protected function getProviderConfigurationHelp() {
$login_uri = PhabricatorEnv::getURI($this->getLoginURI());
return pht(
"To configure Disqus OAuth, create a new application here:".
"
".
"http://disqus.com/api/applications/".
"
".
"Create an application, then adjust these settings:".
"
".
" - **Callback URL:** Set this to `%s`".
"
".
"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 PhutilDisqusAuthAdapter();
}
protected function getLoginIcon() {
return 'Disqus';
}
}
?>
Did this file decode correctly?
Original Code
<?php
final class PhabricatorDisqusAuthProvider
extends PhabricatorOAuth2AuthProvider {
public function getProviderName() {
return pht('Disqus');
}
protected function getProviderConfigurationHelp() {
$login_uri = PhabricatorEnv::getURI($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 PhutilDisqusAuthAdapter();
}
protected function getLoginIcon() {
return 'Disqus';
}
}
Function Calls
None |
Stats
MD5 | ab4d0c6792541c8e21471a5c19ae6c78 |
Eval Count | 0 |
Decode Time | 79 ms |