final public function getAccountIdentifiers()Inherited
wild |
protected function newAccountIdentifiers()
wild |
final protected function newAccountIdentifier($raw_identifier)Inherited
$raw_identifier |
wild |
public function getAccountID()Inherited
Get a unique identifier associated with the account.
This identifier should be permanent, immutable, and uniquely identify the account. If possible, it should be nonsensitive. For providers that have a GUID or PHID value for accounts, these are the best values to use.
You can implement newAccountIdentifiers() instead if a provider is unable to emit identifiers with all of these properties.
If the adapter was unable to authenticate an identity, it should return null.
string|null | Unique account identifier, or `null` if authentication failed. |
public function getAdapterType()
Get a string identifying this adapter, like "ldap". This string should be unique to the adapter class.
string | Unique adapter identifier. |
public function getAdapterDomain()
Get a string identifying the domain this adapter is acting on. This allows an adapter (like LDAP) to act against different identity domains without conflating credentials. For providers like Facebook or Google, the adapters just return the relevant domain name.
string | Domain the adapter is associated with. |
public function getAdapterKey()Inherited
Generate a string uniquely identifying this adapter configuration. Within the scope of a given key, all account IDs must uniquely identify exactly one identity.
string | Unique identifier for this adapter configuration. |
public function getAccountEmail()
Optionally, return an email address associated with this account.
string|null | An email address associated with the account, or `null` if data is not available. |
public function getAccountName()
Optionally, return a human readable username associated with this account.
string|null | Account username, or `null` if data isn't available. |
public function getAccountURI()Inherited
Optionally, return a URI corresponding to a human-viewable profile for this account.
string|null | A profile URI associated with this account, or `null` if the data isn't available. |
public function getAccountImageURI()
Optionally, return a profile image URI associated with this account.
string|null | URI for an account profile image, or `null` if one is not available. |
public function getAccountRealName()
Optionally, return a real name associated with this account.
string|null | A human real name, or `null` if this data is not available. |
public function setPrivateKey($private_key)Inherited
PhutilOpaqueEnvelope | $private_key |
wild |
public function getPrivateKey()Inherited
wild |
public function setCallbackURI($callback_uri)Inherited
$callback_uri |
wild |
public function getCallbackURI()Inherited
wild |
public function setVerifier($verifier)Inherited
$verifier |
wild |
public function getVerifier()Inherited
wild |
public function setConsumerSecret($consumer_secret)Inherited
PhutilOpaqueEnvelope | $consumer_secret |
wild |
public function getConsumerSecret()Inherited
wild |
public function setConsumerKey($consumer_key)Inherited
$consumer_key |
wild |
public function getConsumerKey()Inherited
wild |
public function setTokenSecret($token_secret)Inherited
$token_secret |
wild |
public function getTokenSecret()Inherited
wild |
public function setToken($token)Inherited
$token |
wild |
public function getToken()Inherited
wild |
protected function getHandshakeData()Inherited
wild |
protected function getRequestTokenURI()
wild |
protected function getAuthorizeTokenURI()
wild |
protected function getValidateTokenURI()
wild |
protected function getSignatureMethod()
wild |
public function getContentSecurityPolicyFormActions()Inherited
wild |
protected function newOAuth1Future($uri, $data)Inherited
$uri | ||
$data |
wild |
public function getClientRedirectURI()Inherited
wild |
protected function finishOAuthHandshake()Inherited
wild |
private function readTokenAndTokenSecret($data)Inherited
array | $data |
wild |
protected function willFinishOAuthHandshake()
Hook that allows subclasses to take actions before the OAuth handshake is completed.
JIRA indicates that the user has clicked the "Deny" button by passing a well known oauth_verifier value ("denied"), which we check for here.
wild |
public function setJIRABaseURI($jira_base_uri)
$jira_base_uri |
wild |
public function getJIRABaseURI()
wild |
public function setAdapterDomain($domain)
$domain |
wild |
private function getJIRAURI($path)
$path |
wild |
private function getUserInfo()
wild |
private function newUserInfo()
wild |
public static function newJIRAKeypair()
wild |
public function newJIRAFuture($path, $method, $params)
$path | ||
$method | ||
$params |
wild |