Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98149858
PhabricatorBitbucketAuthProvider.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Jan 10, 08:00
Size
709 B
Mime Type
text/x-php
Expires
Sun, Jan 12, 08:00 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23517390
Attached To
rPH Phabricator
PhabricatorBitbucketAuthProvider.php
View Options
<?php
final
class
PhabricatorBitbucketAuthProvider
extends
PhabricatorOAuth1AuthProvider
{
public
function
getProviderName
()
{
return
pht
(
'Bitbucket'
);
}
public
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'
;
}
}
Event Timeline
Log In to Comment