Documentation
¶
Overview ¶
Package mfa_backchannel provides mfa backchannel functionality.
Index ¶
- type Handler
- func (h *Handler) AddRecoveryCodes(ctx *gin.Context)
- func (h *Handler) AddTOTP(ctx *gin.Context)
- func (h *Handler) DeleteRecoveryCodes(ctx *gin.Context)
- func (h *Handler) DeleteTOTP(ctx *gin.Context)
- func (h *Handler) DeleteWebAuthnCredential(ctx *gin.Context)
- func (h *Handler) GetWebAuthnCredential(ctx *gin.Context)
- func (h *Handler) Register(router gin.IRouter)
- func (h *Handler) SaveWebAuthnCredential(ctx *gin.Context)
- func (h *Handler) UpdateWebAuthnCredential(ctx *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler exposes MFA and WebAuthn backchannel endpoints for the Lua proxy backend. These endpoints are protected by the backchannel auth middleware (Basic/JWT).
func New ¶
func New(deps *handlerdeps.Deps) *Handler
New constructs the backchannel handler with injected dependencies.
func (*Handler) AddRecoveryCodes ¶
AddRecoveryCodes provides the exported AddRecoveryCodes method.
func (*Handler) DeleteRecoveryCodes ¶
DeleteRecoveryCodes provides the exported DeleteRecoveryCodes method.
func (*Handler) DeleteTOTP ¶
DeleteTOTP provides the exported DeleteTOTP method.
func (*Handler) DeleteWebAuthnCredential ¶
DeleteWebAuthnCredential provides the exported DeleteWebAuthnCredential method.
func (*Handler) GetWebAuthnCredential ¶
GetWebAuthnCredential provides the exported GetWebAuthnCredential method.
func (*Handler) SaveWebAuthnCredential ¶
SaveWebAuthnCredential provides the exported SaveWebAuthnCredential method.
func (*Handler) UpdateWebAuthnCredential ¶
UpdateWebAuthnCredential provides the exported UpdateWebAuthnCredential method.