Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F105809351
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, Mar 19, 23:00
Size
392 B
Mime Type
text/x-php
Expires
Fri, Mar 21, 23:00 (2 d)
Engine
blob
Format
Raw Data
Handle
25045834
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