MCPcopy Create free account
hub / github.com/Authula/authula / NewEnableUseCase

Function NewEnableUseCase

plugins/totp/usecases/enable_usecase.go:26–48  ·  view source on GitHub ↗
(
	config *types.TOTPPluginConfig,
	logger models.Logger,
	eventBus models.EventBus,
	userService rootservices.UserService,
	tokenService rootservices.TokenService,
	verificationService rootservices.VerificationService,
	totpService *services.TOTPService,
	backupCodeService *services.BackupCodeService,
	totpRepo TOTPRepository,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

BuildUseCasesFunction · 0.92
buildHandlerMethod · 0.92
TestEnableUseCaseFunction · 0.85

Calls

no outgoing calls

Tested by 2

buildHandlerMethod · 0.74
TestEnableUseCaseFunction · 0.68