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 PhabricatorBitbucketAuthProvider extends PhabricatorOAuth1AuthProvide..
Decoded Output download
<?php
final class PhabricatorBitbucketAuthProvider
extends PhabricatorOAuth1AuthProvider {
public function getProviderName() {
return pht('Bitbucket');
}
protected function getProviderConfigurationHelp() {
return pht(
"To configure Bitbucket OAuth, log in to Bitbucket and go to ".
"**Manage Account** > **Access Management** > **OAuth**.
".
"Click **Add Consumer** and create a new application.
".
"After completing configuration, copy the **Key** and ".
"**Secret** to the fields above.");
}
protected function newOAuthAdapter() {
return new PhutilBitbucketAuthAdapter();
}
protected function getLoginIcon() {
return 'Bitbucket';
}
}
?>
Did this file decode correctly?
Original Code
<?php
final class PhabricatorBitbucketAuthProvider
extends PhabricatorOAuth1AuthProvider {
public function getProviderName() {
return pht('Bitbucket');
}
protected function getProviderConfigurationHelp() {
return pht(
"To configure Bitbucket OAuth, log in to Bitbucket and go to ".
"**Manage Account** > **Access Management** > **OAuth**.\n\n".
"Click **Add Consumer** and create a new application.\n\n".
"After completing configuration, copy the **Key** and ".
"**Secret** to the fields above.");
}
protected function newOAuthAdapter() {
return new PhutilBitbucketAuthAdapter();
}
protected function getLoginIcon() {
return 'Bitbucket';
}
}
Function Calls
None |
Stats
MD5 | 4fec1b2470cc2bde7414193f4b5b4e45 |
Eval Count | 0 |
Decode Time | 101 ms |