Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSignInInvalidCode = user.ErrNSSignIn.NewType("invalid_code") // Invalid or expired
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator struct { user.BaseAuthenticator // contains filtered or unexported fields }
func (*Authenticator) Authenticate ¶
func (a *Authenticator) Authenticate(f user.AuthenticateForm) (*utils.SessionUser, error)
func (*Authenticator) ProcessSession ¶
func (a *Authenticator) ProcessSession(user *utils.SessionUser) bool
Click to show internal directories.
Click to hide internal directories.