Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101881219
PhutilEmptyAuthAdapter.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
Fri, Feb 14, 17:18
Size
894 B
Mime Type
text/x-php
Expires
Sun, Feb 16, 17:18 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24246789
Attached To
rPHU libphutil
PhutilEmptyAuthAdapter.php
View Options
<?php
/**
* Empty authentication adapter with no logic.
*
* This adapter can be used when you need an adapter for some technical reason
* but it doesn't make sense to put logic inside it.
*/
final
class
PhutilEmptyAuthAdapter
extends
PhutilAuthAdapter
{
private
$accountID
;
private
$adapterType
;
private
$adapterDomain
;
public
function
setAdapterDomain
(
$adapter_domain
)
{
$this
->
adapterDomain
=
$adapter_domain
;
return
$this
;
}
public
function
getAdapterDomain
()
{
return
$this
->
adapterDomain
;
}
public
function
setAdapterType
(
$adapter_type
)
{
$this
->
adapterType
=
$adapter_type
;
return
$this
;
}
public
function
getAdapterType
()
{
return
$this
->
adapterType
;
}
public
function
setAccountID
(
$account_id
)
{
$this
->
accountID
=
$account_id
;
return
$this
;
}
public
function
getAccountID
()
{
return
$this
->
accountID
;
}
}
Event Timeline
Log In to Comment