package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Mar 29, 2020
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Claims struct {
UserID string
CreationUTC, ExpirationUTC int64
jwt.StandardClaims
}
Claims is used to store the claims
Code is used to create and validate verification code
Create is used to create a jwt for verification token
Validate is used to validate a jwt
Source Files
¶
Click to show internal directories.
Click to hide internal directories.