Documentation
¶
Index ¶
- type AuthenticationService
- func (m AuthenticationService) ForgotPassword(email string) (verificationID string, err error)
- func (m AuthenticationService) Login(email, password string) (requireTFA bool, accessToken security.AccessToken, err error)
- func (m AuthenticationService) Register(user userland.User) error
- func (m AuthenticationService) RequestVerification(verificationType string, email string) (verificationID string, err error)
- func (m AuthenticationService) ResetPassword(forgotPassToken string, newPassword string) error
- func (m AuthenticationService) VerifyAccount(verificationID string, email string, code string) error
- func (m AuthenticationService) VerifyTFA(tfaToken string, userID int, code string) (accessToken security.AccessToken, err error)
- func (m AuthenticationService) VerifyTFABypass(tfaToken string, userID int, code string) (accessToken security.AccessToken, err error)
- type SimpleAuthenticationService
- func (m SimpleAuthenticationService) ForgotPassword(email string) (verificationID string, err error)
- func (m SimpleAuthenticationService) Login(email, password string) (requireTFA bool, accessToken security.AccessToken, err error)
- func (m SimpleAuthenticationService) Register(user userland.User) error
- func (m SimpleAuthenticationService) RequestVerification(verificationType string, email string) (verificationID string, err error)
- func (m SimpleAuthenticationService) ResetPassword(forgotPassToken string, newPassword string) error
- func (m SimpleAuthenticationService) VerifyAccount(verificationID string, email string, code string) error
- func (m SimpleAuthenticationService) VerifyTFA(tfaToken string, userID int, code string) (accessToken security.AccessToken, err error)
- func (m SimpleAuthenticationService) VerifyTFABypass(tfaToken string, userID int, code string) (accessToken security.AccessToken, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationService ¶
func (AuthenticationService) ForgotPassword ¶
func (m AuthenticationService) ForgotPassword(email string) (verificationID string, err error)
func (AuthenticationService) Login ¶
func (m AuthenticationService) Login(email, password string) (requireTFA bool, accessToken security.AccessToken, err error)
func (AuthenticationService) Register ¶
func (m AuthenticationService) Register(user userland.User) error
func (AuthenticationService) RequestVerification ¶
func (m AuthenticationService) RequestVerification(verificationType string, email string) (verificationID string, err error)
func (AuthenticationService) ResetPassword ¶
func (m AuthenticationService) ResetPassword(forgotPassToken string, newPassword string) error
func (AuthenticationService) VerifyAccount ¶
func (m AuthenticationService) VerifyAccount(verificationID string, email string, code string) error
func (AuthenticationService) VerifyTFA ¶
func (m AuthenticationService) VerifyTFA(tfaToken string, userID int, code string) (accessToken security.AccessToken, err error)
func (AuthenticationService) VerifyTFABypass ¶
func (m AuthenticationService) VerifyTFABypass(tfaToken string, userID int, code string) (accessToken security.AccessToken, err error)
type SimpleAuthenticationService ¶
func (SimpleAuthenticationService) ForgotPassword ¶
func (m SimpleAuthenticationService) ForgotPassword(email string) (verificationID string, err error)
func (SimpleAuthenticationService) Login ¶
func (m SimpleAuthenticationService) Login(email, password string) (requireTFA bool, accessToken security.AccessToken, err error)
func (SimpleAuthenticationService) Register ¶
func (m SimpleAuthenticationService) Register(user userland.User) error
func (SimpleAuthenticationService) RequestVerification ¶
func (m SimpleAuthenticationService) RequestVerification(verificationType string, email string) (verificationID string, err error)
func (SimpleAuthenticationService) ResetPassword ¶
func (m SimpleAuthenticationService) ResetPassword(forgotPassToken string, newPassword string) error
func (SimpleAuthenticationService) VerifyAccount ¶
func (m SimpleAuthenticationService) VerifyAccount(verificationID string, email string, code string) error
func (SimpleAuthenticationService) VerifyTFA ¶
func (m SimpleAuthenticationService) VerifyTFA(tfaToken string, userID int, code string) (accessToken security.AccessToken, err error)
func (SimpleAuthenticationService) VerifyTFABypass ¶
func (m SimpleAuthenticationService) VerifyTFABypass(tfaToken string, userID int, code string) (accessToken security.AccessToken, err error)
Click to show internal directories.
Click to hide internal directories.