Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92297734
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
Tue, Nov 19, 04:48
Size
492 B
Mime Type
text/x-php
Expires
Thu, Nov 21, 04:48 (2 d)
Engine
blob
Format
Raw Data
Handle
22416423
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