Documentation
¶
Index ¶
- func DeleteAccountLink(ctx *context.Context)
- func DeleteOpenID(ctx *context.Context)
- func DisableTwoFactor(ctx *context.Context)
- func EnrollTwoFactor(ctx *context.Context)
- func EnrollTwoFactorPost(ctx *context.Context)
- func OpenIDPost(ctx *context.Context)
- func RegenerateScratchTwoFactor(ctx *context.Context)
- func Security(ctx *context.Context)
- func ToggleOpenIDVisibility(ctx *context.Context)
- func WebAuthnRegister(ctx *context.Context)
- func WebauthnDelete(ctx *context.Context)
- func WebauthnRegisterPost(ctx *context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteAccountLink ¶
DeleteAccountLink delete a single account link
func DeleteOpenID ¶
DeleteOpenID response for delete user's openid
func DisableTwoFactor ¶
DisableTwoFactor deletes the user's 2FA settings.
func EnrollTwoFactor ¶
EnrollTwoFactor shows the page where the user can enroll into 2FA.
func EnrollTwoFactorPost ¶
EnrollTwoFactorPost handles enrolling the user into 2FA.
func OpenIDPost ¶
OpenIDPost response for change user's openid
func RegenerateScratchTwoFactor ¶
RegenerateScratchTwoFactor regenerates the user's 2FA scratch code.
func Security ¶
Security render change user's password page and 2FA
func ToggleOpenIDVisibility ¶
ToggleOpenIDVisibility response for toggle visibility of user's openid
func WebAuthnRegister ¶
WebAuthnRegister initializes the webauthn registration procedure
func WebauthnDelete ¶
WebauthnDelete deletes an security key by id
Types ¶
This section is empty.
Source Files
¶
- 2fa.go
- openid.go
- security.go
- webauthn.go
Click to show internal directories.
Click to hide internal directories.