Documentation ¶
Overview ¶
Package controller contains all the controllers of the application
Index ¶
- func Activate2FA(c *gin.Context)
- func CreateUserAuth(c *gin.Context)
- func CreateVerificationEmail(c *gin.Context)
- func Deactivate2FA(c *gin.Context)
- func Login(c *gin.Context)
- func PasswordForgot(c *gin.Context)
- func PasswordRecover(c *gin.Context)
- func PasswordUpdate(c *gin.Context)
- func Refresh(c *gin.Context)
- func Setup2FA(c *gin.Context)
- func Validate2FA(c *gin.Context)
- func VerifyEmail(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Activate2FA ¶ added in v1.6.1
Activate2FA - activate 2FA upon validation possible for accounts without 2FA-ON
func CreateVerificationEmail ¶ added in v1.6.1
CreateVerificationEmail issues new verification code upon request
func Deactivate2FA ¶ added in v1.6.1
Deactivate2FA - disable 2FA for user account
func PasswordForgot ¶ added in v1.6.1
PasswordForgot sends secret code for resetting a forgotten password
func PasswordRecover ¶ added in v1.6.1
PasswordRecover resets a forgotten password
func PasswordUpdate ¶ added in v1.6.1
PasswordUpdate - change password in logged-in state
func Setup2FA ¶ added in v1.6.1
Setup2FA - get secret to activate 2FA possible for accounts without 2FA-ON
func Validate2FA ¶ added in v1.6.1
Validate2FA - issue new JWTs upon 2FA validation required for accounts with 2FA-ON
func VerifyEmail ¶ added in v1.6.1
VerifyEmail - verify email address
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.