Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TrustedDeviceRepository ¶
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 (s *TrustedDevicesCleanupSystem) Close() error
func (*TrustedDevicesCleanupSystem) Init ¶
func (s *TrustedDevicesCleanupSystem) Init(ctx context.Context) error
func (*TrustedDevicesCleanupSystem) Name ¶
func (s *TrustedDevicesCleanupSystem) Name() string
Click to show internal directories.
Click to hide internal directories.