Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93203320
PhabricatorOAuthClientBaseController.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, 00:10
Size
492 B
Mime Type
text/x-php
Expires
Fri, Nov 29, 00:10 (2 d)
Engine
blob
Format
Raw Data
Handle
22594923
Attached To
rPH Phabricator
PhabricatorOAuthClientBaseController.php
View Options
<?php
/**
* @group oauthserver
*/
abstract
class
PhabricatorOAuthClientBaseController
extends
PhabricatorOAuthServerController
{
private
$clientPHID
;
protected
function
getClientPHID
()
{
return
$this
->
clientPHID
;
}
private
function
setClientPHID
(
$phid
)
{
$this
->
clientPHID
=
$phid
;
return
$this
;
}
public
function
shouldRequireLogin
()
{
return
true
;
}
public
function
willProcessRequest
(
array
$data
)
{
$this
->
setClientPHID
(
idx
(
$data
,
'phid'
));
}
}
Event Timeline
Log In to Comment