public function attachProviderConfig($config)Inherited
public function attachProviderConfig($config)
Inherited
Parameters
PhabricatorAuthProviderConfig | $config |
Return
wild |
public function hasProviderConfig()Inherited
public function hasProviderConfig()
Inherited
Return
wild |
public function getProviderConfig()Inherited
public function getProviderConfig()
Inherited
Return
wild |
public function getProviderConfigPHID()Inherited
public function getProviderConfigPHID()
Inherited
Return
wild |
public function getConfigurationHelp()
public function getConfigurationHelp()
Return
wild |
public function getDefaultProviderConfig()Inherited
public function getDefaultProviderConfig()
Inherited
Return
wild |
public function getNameForCreate()Inherited
public function getNameForCreate()
Inherited
Return
wild |
public function getDescriptionForCreate()
public function getDescriptionForCreate()
Return
wild |
public function getProviderKey()Inherited
public function getProviderKey()
Inherited
Return
wild |
public function getProviderType()Inherited
public function getProviderType()
Inherited
Return
wild |
public function getProviderDomain()Inherited
public function getProviderDomain()
Inherited
Return
wild |
public static function getAllBaseProviders()Inherited
public static function getAllBaseProviders()
Inherited
Return
wild |
public static function getAllProviders()Inherited
public static function getAllProviders()
Inherited
Return
wild |
public static function getAllEnabledProviders()Inherited
public static function getAllEnabledProviders()
Inherited
Return
wild |
public static function getEnabledProviderByKey($provider_key)Inherited
public static function getEnabledProviderByKey($provider_key)
Inherited
Parameters
$provider_key |
Return
wild |
public function getProviderName()
public function getProviderName()
Return
wild |
public function getAdapter()Inherited
public function getAdapter()
Inherited
Return
wild |
public function isEnabled()Inherited
public function isEnabled()
Inherited
Return
wild |
public function shouldAllowLogin()Inherited
public function shouldAllowLogin()
Inherited
Return
wild |
public function shouldAllowRegistration()Inherited
public function shouldAllowRegistration()
Inherited
Return
wild |
public function shouldAllowAccountLink()Inherited
public function shouldAllowAccountLink()
Inherited
Return
wild |
public function shouldAllowAccountUnlink()Inherited
public function shouldAllowAccountUnlink()
Inherited
Return
wild |
public function shouldTrustEmails()Inherited
public function shouldTrustEmails()
Inherited
Return
wild |
public function shouldAllowEmailTrustConfiguration()Inherited
public function shouldAllowEmailTrustConfiguration()
Inherited
PhabricatorAuthProvider
Should we allow the adapter to be marked as "trusted". This is true for all adapters except those that allow the user to type in emails (see PhabricatorPasswordAuthProvider).
Return
wild |
public function buildLoginForm($controller)Inherited
public function buildLoginForm($controller)
Inherited
Parameters
PhabricatorAuthStartController | $controller |
Return
wild |
public function buildInviteForm($controller)Inherited
public function buildInviteForm($controller)
Inherited
Parameters
PhabricatorAuthStartController | $controller |
Return
wild |
public function processLoginRequest($controller)Inherited
public function processLoginRequest($controller)
Inherited
Parameters
PhabricatorAuthLoginController | $controller |
Return
wild |
public function buildLinkForm($controller)Inherited
public function buildLinkForm($controller)
Inherited
Parameters
$controller |
Return
wild |
public function shouldAllowAccountRefresh()Inherited
public function shouldAllowAccountRefresh()
Inherited
Return
wild |
public function buildRefreshForm($controller)Inherited
public function buildRefreshForm($controller)
Inherited
Parameters
PhabricatorAuthLinkController | $controller |
Return
wild |
protected function renderLoginForm($request, $mode)Inherited
protected function renderLoginForm($request, $mode)
Inherited
Parameters
AphrontRequest | $request | |
$mode |
Return
wild |
public function createProviders()Inherited
public function createProviders()
Inherited
Return
wild |
protected function willSaveAccount($account)Inherited
protected function willSaveAccount($account)
Inherited
Parameters
PhabricatorExternalAccount | $account |
Return
wild |
final protected function newExternalAccountForIdentifiers($identifiers)Inherited
final protected function newExternalAccountForIdentifiers($identifiers)
Inherited
Parameters
array | $identifiers |
Return
wild |
final protected function newExternalAccountForUser($user)Inherited
final protected function newExternalAccountForUser($user)
Inherited
Parameters
PhabricatorUser | $user |
Return
wild |
private function didUpdateAccount($account)Inherited
private function didUpdateAccount($account)
Inherited
Parameters
PhabricatorExternalAccount | $account |
Return
wild |
public function getLoginURI()Inherited
public function getLoginURI()
Inherited
Return
wild |
public function getSettingsURI()Inherited
public function getSettingsURI()
Inherited
Return
wild |
public function getStartURI()Inherited
public function getStartURI()
Inherited
Return
wild |
public function isDefaultRegistrationProvider()Inherited
public function isDefaultRegistrationProvider()
Inherited
Return
wild |
public function shouldRequireRegistrationPassword()Inherited
public function shouldRequireRegistrationPassword()
Inherited
Return
wild |
public function newDefaultExternalAccount()Inherited
public function newDefaultExternalAccount()
Inherited
Return
wild |
protected function newExternalAccount()Inherited
protected function newExternalAccount()
Inherited
Return
wild |
public function getLoginOrder()Inherited
public function getLoginOrder()
Inherited
Return
wild |
protected function getLoginIcon()
protected function getLoginIcon()
Return
wild |
public function newIconView()Inherited
public function newIconView()
Inherited
Return
wild |
public function isLoginFormAButton()Inherited
public function isLoginFormAButton()
Inherited
Return
wild |
public function renderConfigPropertyTransactionTitle($xaction)Inherited
public function renderConfigPropertyTransactionTitle($xaction)
Inherited
Parameters
PhabricatorAuthProviderConfigTransaction | $xaction |
Return
wild |
public function readFormValuesFromProvider()
public function readFormValuesFromProvider()
Return
wild |
public function readFormValuesFromRequest($request)
public function readFormValuesFromRequest($request)
Parameters
AphrontRequest | $request |
Return
wild |
public function processEditForm($request, $values)
public function processEditForm($request, $values)
Parameters
AphrontRequest | $request | |
array | $values |
Return
wild |
public function extendEditForm($request, $form, $values, $issues)
public function extendEditForm($request, $form, $values, $issues)
Parameters
AphrontRequest | $request | |
AphrontFormView | $form | |
array | $values | |
array | $issues |
Return
wild |
public function willRenderLinkedAccount($viewer, $item, $account)Inherited
public function willRenderLinkedAccount($viewer, $item, $account)
Inherited
Parameters
PhabricatorUser | $viewer | |
PHUIObjectItemView | $item | |
PhabricatorExternalAccount | $account |
Return
wild |
public function hasSetupStep()
public function hasSetupStep()
PhabricatorAuthProvider
Return true to use a two-step configuration (setup, configure) instead of the default single-step configuration. In practice, this means that creating a new provider instance will redirect back to the edit page instead of the provider list.
PhabricatorJIRAAuthProvider
JIRA uses a setup step to generate public/private keys.
Return
bool | True if this provider uses two-step configuration. |
protected function renderStandardLoginButton($request, $mode, $attributes)Inherited
protected function renderStandardLoginButton($request, $mode, $attributes)
Inherited
PhabricatorAuthProvider
Render a standard login/register button element.
The $attributes parameter takes these keys:
- uri: URI the button should take the user to when clicked.
- method: Optional HTTP method the button should use, defaults to GET.
Parameters
AphrontRequest | $request | HTTP request. |
string | $mode | Request mode string. |
map | $attributes | Additional parameters, see above. |
Return
wild | Log in button. |
public function renderConfigurationFooter()Inherited
public function renderConfigurationFooter()
Inherited
Return
wild |
public function getAuthCSRFCode($request)Inherited
public function getAuthCSRFCode($request)
Inherited
Parameters
AphrontRequest | $request |
Return
wild |
protected function verifyAuthCSRFCode($request, $actual)Inherited
protected function verifyAuthCSRFCode($request, $actual)
Inherited
Parameters
AphrontRequest | $request | |
$actual |
Return
wild |
public function supportsAutoLogin()Inherited
public function supportsAutoLogin()
Inherited
Return
wild |
public function getAutoLoginURI($request)Inherited
public function getAutoLoginURI($request)
Inherited
Parameters
AphrontRequest | $request |
Return
wild |
protected function getContentSecurityPolicyFormActions()Inherited
protected function getContentSecurityPolicyFormActions()
Inherited
Return
wild |
protected function newOAuthAdapter()
protected function newOAuthAdapter()
Return
wild |
protected function getIDKey()Inherited
protected function getIDKey()
Inherited
Return
wild |
protected function getSecretKey()Inherited
protected function getSecretKey()
Inherited
Return
wild |
protected function processOAuthEditForm($request, $values, $id_error, $secret_error)Inherited
protected function processOAuthEditForm($request, $values, $id_error, $secret_error)
Inherited
Parameters
AphrontRequest | $request | |
array | $values | |
$id_error | ||
$secret_error |
Return
wild |
protected function getProviderConfigurationHelp()
protected function getProviderConfigurationHelp()
Return
wild |
protected function extendOAuthEditForm($request, $form, $values, $issues, $id_label, $secret_label)Inherited
protected function extendOAuthEditForm($request, $form, $values, $issues, $id_label, $secret_label)
Inherited
Parameters
AphrontRequest | $request | |
AphrontFormView | $form | |
array | $values | |
array | $issues | |
$id_label | ||
$secret_label |
Return
wild |
protected function synchronizeOAuthAccount($account)Inherited
protected function synchronizeOAuthAccount($account)
Inherited
Parameters
PhabricatorExternalAccount | $account |
Return
wild |
protected function configureAdapter($adapter)Inherited
protected function configureAdapter($adapter)
Inherited
Parameters
PhutilOAuth1AuthAdapter | $adapter |
Return
wild |
private function saveHandshakeTokenSecret($client_code, $secret)Inherited
private function saveHandshakeTokenSecret($client_code, $secret)
Inherited
Parameters
$client_code | ||
$secret |
Return
wild |
private function loadHandshakeTokenSecret($client_code)Inherited
private function loadHandshakeTokenSecret($client_code)
Inherited
Parameters
$client_code |
Return
wild |
private function getTemporaryTokenType($core_type)Inherited
private function getTemporaryTokenType($core_type)
Inherited
Parameters
$core_type |
Return
wild |
private function getHandshakeTokenKeyFromClientCode($client_code)Inherited
private function getHandshakeTokenKeyFromClientCode($client_code)
Inherited
Parameters
$client_code |
Return
wild |
private function isSetup()
private function isSetup()
Return
wild |
public static function getJIRAProvider()
public static function getJIRAProvider()
Return
wild |
public function newJIRAFuture($account, $path, $method, $params)
public function newJIRAFuture($account, $path, $method, $params)
Parameters
PhabricatorExternalAccount | $account | |
$path | ||
$method | ||
$params |
Return
wild |
public function shouldCreateJIRALink()
public function shouldCreateJIRALink()
Return
wild |
public function shouldCreateJIRAComment()
public function shouldCreateJIRAComment()
Return
wild |
public function getDoorkeeperURIRef($uri)
public function getDoorkeeperURIRef($uri)
Parameters
PhutilURI | $uri |
Return
wild |