Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F77265099
PhabricatorOAuthServerScope.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
Tue, Aug 13, 11:46
Size
392 B
Mime Type
text/x-php
Expires
Thu, Aug 15, 11:46 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
19847082
Attached To
rPH Phabricator
PhabricatorOAuthServerScope.php
View Options
<?php
final
class
PhabricatorOAuthServerScope
extends
Phobject
{
public
static
function
getScopeMap
()
{
return
array
();
}
public
static
function
filterScope
(
array
$scope
)
{
$valid_scopes
=
self
::
getScopeMap
();
foreach
(
$scope
as
$key
=>
$scope_item
)
{
if
(!
isset
(
$valid_scopes
[
$scope_item
]))
{
unset
(
$scope
[
$key
]);
}
}
return
$scope
;
}
}
Event Timeline
Log In to Comment