Versions in this module Expand all Collapse all v1 v1.0.0 Mar 21, 2026 Changes in this version + func BuildUseCases(p *TOTPPlugin) *usecases.UseCases + func MigrationSet(provider string) migrations.MigrationSet + func Routes(p *TOTPPlugin) []models.Route + type API struct + func BuildAPI(plugin *TOTPPlugin) *API + func (a *API) UseCases() *usecases.UseCases + type TOTPHookID string + const HookIDTOTPIntercept + func (id TOTPHookID) String() string + type TOTPPlugin struct + Api *API + func New(config types.TOTPPluginConfig) *TOTPPlugin + func (p *TOTPPlugin) Close() error + func (p *TOTPPlugin) Config() any + func (p *TOTPPlugin) DependsOn() []string + func (p *TOTPPlugin) Hooks() []models.Hook + func (p *TOTPPlugin) Init(ctx *models.PluginContext) error + func (p *TOTPPlugin) Metadata() models.PluginMetadata + func (p *TOTPPlugin) Migrations(provider string) []migrations.Migration + func (p *TOTPPlugin) Routes() []models.Route