Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F547989
PhabricatorBitbucketAuthProvider.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
712 B
Referenced Files
None
Subscribers
None
PhabricatorBitbucketAuthProvider.php
View Options
<?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'
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 1:41 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
109995
Default Alt Text
PhabricatorBitbucketAuthProvider.php (712 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment