Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F804731
PhabricatorAuthAuthProviderPHIDType.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
716 B
Referenced Files
None
Subscribers
None
PhabricatorAuthAuthProviderPHIDType.php
View Options
<?php
final
class
PhabricatorAuthAuthProviderPHIDType
extends
PhabricatorPHIDType
{
const
TYPECONST
=
'AUTH'
;
public
function
getTypeName
()
{
return
pht
(
'Auth Provider'
);
}
public
function
newObject
()
{
return
new
PhabricatorAuthProviderConfig
();
}
protected
function
buildQueryForObjects
(
PhabricatorObjectQuery
$query
,
array
$phids
)
{
return
id
(
new
PhabricatorAuthProviderConfigQuery
())
->
withPHIDs
(
$phids
);
}
public
function
loadHandles
(
PhabricatorHandleQuery
$query
,
array
$handles
,
array
$objects
)
{
foreach
(
$handles
as
$phid
=>
$handle
)
{
$provider
=
$objects
[
$phid
];
$handle
->
setName
(
$provider
->
getProviderName
());
}
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Thu, May 29, 12:49 PM (21 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
194991
Default Alt Text
PhabricatorAuthAuthProviderPHIDType.php (716 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment