Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F78689702
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
Thu, Aug 22, 10:23
Size
712 B
Mime Type
text/x-php
Expires
Sat, Aug 24, 10:23 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
20086474
Attached To
rPH Phabricator
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'
;
}
}
Event Timeline
Log In to Comment