mfa

package
v1.11.7 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MFA

type MFA interface {
	// GetValue returns the MFA value as a string.
	GetValue() string
	// contains filtered or unexported methods
}

MFA is an interface that stores some information for multi factor authentication.

type TOTPSecret

type TOTPSecret struct {
	// contains filtered or unexported fields
}

func NewTOTPSecret

func NewTOTPSecret(value string) *TOTPSecret

func (*TOTPSecret) GetLDAPTOTPSecret

func (t *TOTPSecret) GetLDAPTOTPSecret(protocol *config.LDAPSearchProtocol) string

func (*TOTPSecret) GetValue

func (t *TOTPSecret) GetValue() string

type WebAuthn

type WebAuthn struct {
	Value string
}

func NewWebAuthn

func NewWebAuthn(value string) *WebAuthn

func (*WebAuthn) GetLDAPUniqueUserID

func (w *WebAuthn) GetLDAPUniqueUserID(protocol *config.LDAPSearchProtocol) string

func (*WebAuthn) GetValue

func (w *WebAuthn) GetValue() string

Jump to

Keyboard shortcuts

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