FormTrait
Table of Contents
Methods
- onSuccess() : void
- createComponentPasswordForm() : Form
- redirectAfterSuccess() : void
- resolveErrorMessage() : string
- storeRenewedTokens() : void
- The Api revoked every refresh token of the account, including the one this session holds, and answered with a fresh pair. Without storing it the visitor would be signed out as soon as the current access token expires.
Methods
onSuccess()
public
onSuccess(Form $form, ArrayHash $values) : void
Parameters
- $form : Form
- $values : ArrayHash
createComponentPasswordForm()
protected
createComponentPasswordForm() : Form
Return values
FormredirectAfterSuccess()
private
redirectAfterSuccess() : void
resolveErrorMessage()
private
resolveErrorMessage(Result $result) : string
Parameters
- $result : Result
Return values
stringstoreRenewedTokens()
The Api revoked every refresh token of the account, including the one this session holds, and answered with a fresh pair. Without storing it the visitor would be signed out as soon as the current access token expires.
private
storeRenewedTokens(Result $result) : void
Parameters
- $result : Result