package
0.0.0-20210730142958-e2aa4118589e
Repository: https://github.com/mxc-foundation/lpwan-app-server.git
Documentation: pkg.go.dev

# Functions

NewValidator creates a new TOTP validator using given issuer, master key and store.

# Structs

Claims defines the struct containing the token claims.
Configuration contains TOTP configuration generated for user.
TOTPInfo contains user's TOTP configuration.
Validator provides methods to generate TOTP configuration for the user and validate OTPs.

# Interfaces

Store provides methods to access TOTP information for users stored in the database.