Documentation
¶
Index ¶
Constants ¶
View Source
const ( IssuerName = "supermq.auth" TokenType = "type" RoleField = "role" VerifiedField = "verified" PatPrefix = "pat" )
Variables ¶
View Source
var ( // ErrInvalidIssuer represents an invalid token issuer value. ErrInvalidIssuer = errors.New("invalid token issuer value") // ErrJSONHandle indicates an error in handling JSON. ErrJSONHandle = errors.New("failed to perform operation JSON") // ErrJWTExpiryKey indicates that the "exp" claim in the JWT token is not satisfied. ErrJWTExpiryKey = errors.New(`"exp" not satisfied`) )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.