Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F445721
PhabricatorOAuthServerApplication.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
PhabricatorOAuthServerApplication.php
View Options
<?php
final
class
PhabricatorOAuthServerApplication
extends
PhabricatorApplication
{
public
function
getBaseURI
()
{
return
'/oauthserver/'
;
}
public
function
getShortDescription
()
{
return
pht
(
'OAuth Login Provider'
);
}
public
function
getIconName
()
{
return
'oauthserver'
;
}
public
function
getTitleGlyph
()
{
return
"
\x
E2
\x
99
\x
86"
;
}
public
function
getFlavorText
()
{
return
pht
(
'Login with Phabricator'
);
}
public
function
getApplicationGroup
()
{
return
self
::
GROUP_ADMIN
;
}
public
function
isBeta
()
{
return
true
;
}
public
function
getHelpURI
()
{
return
PhabricatorEnv
::
getDoclink
(
'Using the Phabricator OAuth Server'
);
}
public
function
getRoutes
()
{
return
array
(
'/oauthserver/'
=>
array
(
'(?:query/(?P<queryKey>[^/]+)/)?'
=>
'PhabricatorOAuthClientListController'
,
'auth/'
=>
'PhabricatorOAuthServerAuthController'
,
'test/(?P<id>
\d
+)/'
=>
'PhabricatorOAuthServerTestController'
,
'token/'
=>
'PhabricatorOAuthServerTokenController'
,
'client/'
=>
array
(
'create/'
=>
'PhabricatorOAuthClientEditController'
,
'delete/(?P<phid>[^/]+)/'
=>
'PhabricatorOAuthClientDeleteController'
,
'edit/(?P<phid>[^/]+)/'
=>
'PhabricatorOAuthClientEditController'
,
'view/(?P<phid>[^/]+)/'
=>
'PhabricatorOAuthClientViewController'
,
),
),
);
}
protected
function
getCustomCapabilities
()
{
return
array
(
PhabricatorOAuthServerCapabilityCreateClients
::
CAPABILITY
=>
array
(
'default'
=>
PhabricatorPolicies
::
POLICY_ADMIN
,
),
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, May 4, 1:49 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
69307
Default Alt Text
PhabricatorOAuthServerApplication.php (1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment