Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93216648
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
Wed, Nov 27, 02:30
Size
392 B
Mime Type
text/x-php
Expires
Fri, Nov 29, 02:30 (2 d)
Engine
blob
Format
Raw Data
Handle
22597421
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