[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/auth/provider/ -> PhabricatorAuthProvider.php (summary)

(no description)

File Size: 486 lines (14 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 50 functions

  attachProviderConfig()
  hasProviderConfig()
  getProviderConfig()
  getConfigurationHelp()
  getDefaultProviderConfig()
  getNameForCreate()
  getDescriptionForCreate()
  getProviderKey()
  getProviderType()
  getProviderDomain()
  getAllBaseProviders()
  getAllProviders()
  getAllEnabledProviders()
  getEnabledProviderByKey()
  isEnabled()
  shouldAllowLogin()
  shouldAllowRegistration()
  shouldAllowAccountLink()
  shouldAllowAccountUnlink()
  shouldTrustEmails()
  shouldAllowEmailTrustConfiguration()
  buildLoginForm()
  buildLinkForm()
  shouldAllowAccountRefresh()
  buildRefreshForm()
  renderLoginForm()
  createProviders()
  willSaveAccount()
  willRegisterAccount()
  loadOrCreateAccount()
  getLoginURI()
  getSettingsURI()
  getStartURI()
  isDefaultRegistrationProvider()
  shouldRequireRegistrationPassword()
  getDefaultExternalAccount()
  getLoginOrder()
  getLoginIcon()
  isLoginFormAButton()
  renderConfigPropertyTransactionTitle()
  readFormValuesFromProvider()
  readFormValuesFromRequest()
  processEditForm()
  extendEditForm()
  willRenderLinkedAccount()
  hasSetupStep()
  renderStandardLoginButton()
  renderConfigurationFooter()
  getAuthCSRFCode()
  verifyAuthCSRFCode()

Functions
Functions that are not part of a class:

attachProviderConfig(PhabricatorAuthProviderConfig $config)   X-Ref
No description

hasProviderConfig()   X-Ref
No description

getProviderConfig()   X-Ref
No description

getConfigurationHelp()   X-Ref
No description

getDefaultProviderConfig()   X-Ref
No description

getNameForCreate()   X-Ref
No description

getDescriptionForCreate()   X-Ref
No description

getProviderKey()   X-Ref
No description

getProviderType()   X-Ref
No description

getProviderDomain()   X-Ref
No description

getAllBaseProviders()   X-Ref
No description

getAllProviders()   X-Ref
No description

getAllEnabledProviders()   X-Ref
No description

getEnabledProviderByKey($provider_key)   X-Ref
No description

isEnabled()   X-Ref
No description

shouldAllowLogin()   X-Ref
No description

shouldAllowRegistration()   X-Ref
No description

shouldAllowAccountLink()   X-Ref
No description

shouldAllowAccountUnlink()   X-Ref
No description

shouldTrustEmails()   X-Ref
No description

shouldAllowEmailTrustConfiguration()   X-Ref
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
@{class:PhabricatorPasswordAuthProvider}).


buildLoginForm(PhabricatorAuthStartController $controller)   X-Ref
No description

buildLinkForm(PhabricatorAuthLinkController $controller)   X-Ref
No description

shouldAllowAccountRefresh()   X-Ref
No description

buildRefreshForm(PhabricatorAuthLinkController $controller)   X-Ref
No description

renderLoginForm(AphrontRequest $request, $mode)   X-Ref
No description

createProviders()   X-Ref
No description

willSaveAccount(PhabricatorExternalAccount $account)   X-Ref
No description

willRegisterAccount(PhabricatorExternalAccount $account)   X-Ref
No description

loadOrCreateAccount($account_id)   X-Ref
No description

getLoginURI()   X-Ref
No description

getSettingsURI()   X-Ref
No description

getStartURI()   X-Ref
No description

isDefaultRegistrationProvider()   X-Ref
No description

shouldRequireRegistrationPassword()   X-Ref
No description

getDefaultExternalAccount()   X-Ref
No description

getLoginOrder()   X-Ref
No description

getLoginIcon()   X-Ref
No description

isLoginFormAButton()   X-Ref
No description

renderConfigPropertyTransactionTitle(PhabricatorAuthProviderConfigTransaction $xaction)   X-Ref
No description

readFormValuesFromProvider()   X-Ref
No description

readFormValuesFromRequest(AphrontRequest $request)   X-Ref
No description

processEditForm(AphrontRequest $request,array $values)   X-Ref
No description

extendEditForm(AphrontRequest $request,AphrontFormView $form,array $values,array $issues)   X-Ref
No description

willRenderLinkedAccount(PhabricatorUser $viewer,PHUIObjectItemView $item,PhabricatorExternalAccount $account)   X-Ref
No description

hasSetupStep()   X-Ref
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.

return: bool True if this provider uses two-step configuration.

renderStandardLoginButton(AphrontRequest $request,$mode,array $attributes = array()   X-Ref
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.

param: AphrontRequest  HTTP request.
param: string          Request mode string.
param: map             Additional parameters, see above.
return: wild            Login button.

renderConfigurationFooter()   X-Ref
No description

getAuthCSRFCode(AphrontRequest $request)   X-Ref
No description

verifyAuthCSRFCode(AphrontRequest $request, $actual)   X-Ref
No description



Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1