Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F466876
PhutilEmptyAuthAdapter.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
894 B
Referenced Files
None
Subscribers
None
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
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, May 6, 1:42 AM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
79439
Default Alt Text
PhutilEmptyAuthAdapter.php (894 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment