handlers

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DisableHandler

type DisableHandler struct {
	UseCase *usecases.DisableUseCase
}

func (*DisableHandler) Handler

func (h *DisableHandler) Handler() http.HandlerFunc

type EnableHandler

type EnableHandler struct {
	GlobalConfig *models.Config
	PluginConfig *types.TOTPPluginConfig
	UseCase      *usecases.EnableUseCase
}

func (*EnableHandler) Handler

func (h *EnableHandler) Handler() http.HandlerFunc

type GenerateBackupCodesHandler

type GenerateBackupCodesHandler struct {
	UseCase *usecases.GenerateBackupCodesUseCase
}

func (*GenerateBackupCodesHandler) Handler

type GetTOTPURIHandler

type GetTOTPURIHandler struct {
	GlobalConfig *models.Config
	UseCase      *usecases.GetTOTPURIUseCase
}

func (*GetTOTPURIHandler) Handler

func (h *GetTOTPURIHandler) Handler() http.HandlerFunc

type VerifyBackupCodeHandler

type VerifyBackupCodeHandler struct {
	PluginConfig *types.TOTPPluginConfig
	UseCase      *usecases.VerifyBackupCodeUseCase
}

func (*VerifyBackupCodeHandler) Handler

type VerifyTOTPHandler

type VerifyTOTPHandler struct {
	PluginConfig *types.TOTPPluginConfig
	UseCase      *usecases.VerifyTOTPUseCase
}

func (*VerifyTOTPHandler) Handler

func (h *VerifyTOTPHandler) Handler() http.HandlerFunc

Jump to

Keyboard shortcuts

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