

PostAuthentication ( $user, AuthenticationResponse $response) PostAccountLink ( $user, AuthenticationResponse $response) PostAccountCreation ( $user, $creator, AuthenticationResponse $response) If you leave the username property of the returned requests empty, this will automatically be copied there (except for ACTION_CREATE where it wouldn't really make sense). ACTION_REMOVE: The user having data removed.ACTION_CHANGE: The user having data changed.ACTION_LINK: The local user being linked to.ACTION_CREATE: The account creator, if non-anonymous.ACTION_LOGIN: The currently logged-in user, if any.username: User name related to the action, or null/unset if anon.See also AuthManager::getAuthenticationRequests() Parameters string Called on primary and secondary providers. Must work without additional user input (i.e. ACTION_REMOVE: Valid for passing to AuthManager::changeAuthenticationData to remove credentials.

ACTION_CHANGE: Valid for passing to AuthManager::changeAuthenticationData to change credentials.Called on linking primary providers only. ACTION_LINK: Valid for passing to beginAccountLink.ACTION_CREATE: Valid for passing to beginAccountCreation.ACTION_LOGIN: Valid for passing to beginAuthentication.Return the applicable list of AuthenticationRequests.Possible values for $action depend on whether the implementing class is also a PreAuthenticationProvider, PrimaryAuthenticationProvider, or SecondaryAuthenticationProvider.

GetAuthenticationRequests ( $action, array $options) More.ĬontinuePrimaryAuthentication (array $reqs)įinishAccountCreation ( $user, $creator, AuthenticationResponse $response) More.ĬontinuePrimaryAccountLink ( $user, array $reqs)Ĭontinue linking an account to an existing user. More.ĬontinuePrimaryAccountCreation ( $user, $creator, array $reqs)Ĭontinue an account creation flow. Start linking an account to an existing user. BeginPrimaryAccountCreation ( $user, $creator, array $reqs)īeginPrimaryAccountLink ( $user, array $reqs)
