Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2895954
PhabricatorBitbucketAuthProvider.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
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
Jan 19 2025, 22:20 (6 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1111041
Default Alt Text
PhabricatorBitbucketAuthProvider.php (712 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment