package
0.5.0
Repository: https://github.com/fmitra/authenticator.git
Documentation: pkg.go.dev

# Functions

NewService returns a new implementation of auth.TOTPAPI.
SetupHTTPHandler converts a service's public methods to http handlers.
WithLogger configures the service with a logger.
WithOTP configures the service with an OTP management service.
WithRepoManager configures the service with a new RepositoryManager.
WithTokenService configures the service with a TokenService.

# Structs

Response is a success response with an embedded TOTP string.

# Type aliases

ConfigOption configures the service.