mfa_backchannel

package
v4.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Package mfa_backchannel provides mfa backchannel functionality.

Index

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

func (h *Handler) AddRecoveryCodes(ctx *gin.Context)

AddRecoveryCodes provides the exported AddRecoveryCodes method.

func (*Handler) AddTOTP

func (h *Handler) AddTOTP(ctx *gin.Context)

AddTOTP provides the exported AddTOTP method.

func (*Handler) DeleteRecoveryCodes

func (h *Handler) DeleteRecoveryCodes(ctx *gin.Context)

DeleteRecoveryCodes provides the exported DeleteRecoveryCodes method.

func (*Handler) DeleteTOTP

func (h *Handler) DeleteTOTP(ctx *gin.Context)

DeleteTOTP provides the exported DeleteTOTP method.

func (*Handler) DeleteWebAuthnCredential

func (h *Handler) DeleteWebAuthnCredential(ctx *gin.Context)

DeleteWebAuthnCredential provides the exported DeleteWebAuthnCredential method.

func (*Handler) GetWebAuthnCredential

func (h *Handler) GetWebAuthnCredential(ctx *gin.Context)

GetWebAuthnCredential provides the exported GetWebAuthnCredential method.

func (*Handler) Register

func (h *Handler) Register(router gin.IRouter)

Register provides the exported Register method.

func (*Handler) SaveWebAuthnCredential

func (h *Handler) SaveWebAuthnCredential(ctx *gin.Context)

SaveWebAuthnCredential provides the exported SaveWebAuthnCredential method.

func (*Handler) UpdateWebAuthnCredential

func (h *Handler) UpdateWebAuthnCredential(ctx *gin.Context)

UpdateWebAuthnCredential provides the exported UpdateWebAuthnCredential method.

Jump to

Keyboard shortcuts

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