systems

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TrustedDeviceRepository

type TrustedDeviceRepository interface {
	DeleteExpiredTrustedDevices(ctx context.Context) error
}

TrustedDeviceRepository is the subset of the TOTP repository required by the cleanup system.

type TrustedDevicesCleanupSystem

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

TrustedDevicesCleanupSystem periodically deletes expired trusted device records.

func NewTrustedDevicesCleanupSystem

func NewTrustedDevicesCleanupSystem(
	logger models.Logger,
	config *types.TOTPPluginConfig,
	repo TrustedDeviceRepository,
) *TrustedDevicesCleanupSystem

func (*TrustedDevicesCleanupSystem) Close

func (*TrustedDevicesCleanupSystem) Init

func (*TrustedDevicesCleanupSystem) Name

Jump to

Keyboard shortcuts

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