public function __get($name)Inherited
$name |
wild |
public function __set($name, $value)Inherited
$name | ||
$value |
wild |
public function current()Inherited
wild |
public function key()Inherited
wild |
public function next()Inherited
wild |
public function rewind()Inherited
wild |
public function valid()Inherited
wild |
private function throwOnAttemptedIteration()Inherited
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
Read the value of a class constant.
This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
string | Value of the constant. |
public function attachProviderConfig($config)Inherited
PhabricatorAuthProviderConfig | $config |
wild |
public function hasProviderConfig()Inherited
wild |
public function getProviderConfig()Inherited
wild |
public function getProviderConfigPHID()Inherited
wild |
public function getConfigurationHelp()
wild |
public function getDefaultProviderConfig()Inherited
wild |
public function getNameForCreate()Inherited
wild |
public function getDescriptionForCreate()
wild |
public function getProviderKey()Inherited
wild |
public function getProviderType()Inherited
wild |
public function getProviderDomain()Inherited
wild |
public static function getAllBaseProviders()Inherited
wild |
public static function getAllProviders()Inherited
wild |
public static function getAllEnabledProviders()Inherited
wild |
public static function getEnabledProviderByKey($provider_key)Inherited
$provider_key |
wild |
public function getProviderName()
wild |
public function getAdapter()Inherited
wild |
public function isEnabled()Inherited
wild |
public function shouldAllowLogin()Inherited
wild |
public function shouldAllowRegistration()Inherited
wild |
public function shouldAllowAccountLink()Inherited
wild |
public function shouldAllowAccountUnlink()Inherited
wild |
public function shouldTrustEmails()Inherited
wild |
public function shouldAllowEmailTrustConfiguration()Inherited
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).
wild |
public function buildLoginForm($controller)Inherited
PhabricatorAuthStartController | $controller |
wild |
public function buildInviteForm($controller)Inherited
PhabricatorAuthStartController | $controller |
wild |
public function processLoginRequest($controller)Inherited
PhabricatorAuthLoginController | $controller |
wild |
public function buildLinkForm($controller)Inherited
$controller |
wild |
public function shouldAllowAccountRefresh()Inherited
wild |
public function buildRefreshForm($controller)Inherited
PhabricatorAuthLinkController | $controller |
wild |
protected function renderLoginForm($request, $mode)Inherited
AphrontRequest | $request | |
$mode |
wild |
public function createProviders()Inherited
wild |
protected function willSaveAccount($account)Inherited
PhabricatorExternalAccount | $account |
wild |
final protected function newExternalAccountForIdentifiers($identifiers)Inherited
array | $identifiers |
wild |
final protected function newExternalAccountForUser($user)Inherited
PhabricatorUser | $user |
wild |
private function didUpdateAccount($account)Inherited
PhabricatorExternalAccount | $account |
wild |
public function getLoginURI()Inherited
wild |
public function getSettingsURI()Inherited
wild |
public function getStartURI()Inherited
wild |
public function isDefaultRegistrationProvider()Inherited
wild |
public function shouldRequireRegistrationPassword()Inherited
wild |
public function newDefaultExternalAccount()Inherited
wild |
protected function newExternalAccount()Inherited
wild |
public function getLoginOrder()Inherited
wild |
protected function getLoginIcon()
wild |
public function newIconView()Inherited
wild |
public function isLoginFormAButton()Inherited
wild |
public function renderConfigPropertyTransactionTitle($xaction)Inherited
PhabricatorAuthProviderConfigTransaction | $xaction |
wild |
public function readFormValuesFromProvider()
wild |
public function readFormValuesFromRequest($request)
AphrontRequest | $request |
wild |
public function processEditForm($request, $values)
AphrontRequest | $request | |
array | $values |
wild |
public function extendEditForm($request, $form, $values, $issues)
AphrontRequest | $request | |
AphrontFormView | $form | |
array | $values | |
array | $issues |
wild |
public function willRenderLinkedAccount($viewer, $item, $account)Inherited
PhabricatorUser | $viewer | |
PHUIObjectItemView | $item | |
PhabricatorExternalAccount | $account |
wild |
public function hasSetupStep()
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.
JIRA uses a setup step to generate public/private keys.
bool | True if this provider uses two-step configuration. |
protected function renderStandardLoginButton($request, $mode, $attributes)Inherited
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.
AphrontRequest | $request | HTTP request. |
string | $mode | Request mode string. |
map | $attributes | Additional parameters, see above. |
wild | Log in button. |
public function renderConfigurationFooter()Inherited
wild |
public function getAuthCSRFCode($request)Inherited
AphrontRequest | $request |
wild |
protected function verifyAuthCSRFCode($request, $actual)Inherited
AphrontRequest | $request | |
$actual |
wild |
public function supportsAutoLogin()Inherited
wild |
public function getAutoLoginURI($request)Inherited
AphrontRequest | $request |
wild |
protected function getContentSecurityPolicyFormActions()Inherited
wild |
protected function newOAuthAdapter()
wild |
protected function getIDKey()Inherited
wild |
protected function getSecretKey()Inherited
wild |
protected function processOAuthEditForm($request, $values, $id_error, $secret_error)Inherited
AphrontRequest | $request | |
array | $values | |
$id_error | ||
$secret_error |
wild |
protected function getProviderConfigurationHelp()
wild |
protected function extendOAuthEditForm($request, $form, $values, $issues, $id_label, $secret_label)Inherited
AphrontRequest | $request | |
AphrontFormView | $form | |
array | $values | |
array | $issues | |
$id_label | ||
$secret_label |
wild |
protected function synchronizeOAuthAccount($account)Inherited
PhabricatorExternalAccount | $account |
wild |
protected function configureAdapter($adapter)Inherited
PhutilOAuth1AuthAdapter | $adapter |
wild |
private function saveHandshakeTokenSecret($client_code, $secret)Inherited
$client_code | ||
$secret |
wild |
private function loadHandshakeTokenSecret($client_code)Inherited
$client_code |
wild |
private function getTemporaryTokenType($core_type)Inherited
$core_type |
wild |
private function getHandshakeTokenKeyFromClientCode($client_code)Inherited
$client_code |
wild |
private function isSetup()
wild |
public static function getJIRAProvider()
wild |
public function newJIRAFuture($account, $path, $method, $params)
PhabricatorExternalAccount | $account | |
$path | ||
$method | ||
$params |
wild |
public function shouldCreateJIRALink()
wild |
public function shouldCreateJIRAComment()
wild |
public function getDoorkeeperURIRef($uri)
PhutilURI | $uri |
wild |