Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F121627768
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
Sat, Jul 12, 14:59
Size
392 B
Mime Type
text/x-php
Expires
Mon, Jul 14, 14:59 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
27362067
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