security

package
v1.22.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 27 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteAccountLink(ctx *context.Context)

DeleteAccountLink delete a single account link

func DeleteOpenID

func DeleteOpenID(ctx *context.Context)

DeleteOpenID response for delete user's openid

func DisableTwoFactor

func DisableTwoFactor(ctx *context.Context)

DisableTwoFactor deletes the user's 2FA settings.

func EnrollTwoFactor

func EnrollTwoFactor(ctx *context.Context)

EnrollTwoFactor shows the page where the user can enroll into 2FA.

func EnrollTwoFactorPost

func EnrollTwoFactorPost(ctx *context.Context)

EnrollTwoFactorPost handles enrolling the user into 2FA.

func OpenIDPost

func OpenIDPost(ctx *context.Context)

OpenIDPost response for change user's openid

func RegenerateScratchTwoFactor

func RegenerateScratchTwoFactor(ctx *context.Context)

RegenerateScratchTwoFactor regenerates the user's 2FA scratch code.

func Security

func Security(ctx *context.Context)

Security render change user's password page and 2FA

func ToggleOpenIDVisibility

func ToggleOpenIDVisibility(ctx *context.Context)

ToggleOpenIDVisibility response for toggle visibility of user's openid

func WebAuthnRegister

func WebAuthnRegister(ctx *context.Context)

WebAuthnRegister initializes the webauthn registration procedure

func WebauthnDelete

func WebauthnDelete(ctx *context.Context)

WebauthnDelete deletes an security key by id

func WebauthnRegisterPost

func WebauthnRegisterPost(ctx *context.Context)

WebauthnRegisterPost receives the response of the security key

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL