package
Version:
v0.2.9
Opens a new window with list of versions in this module.
Published: Dec 10, 2021
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Claims struct {
Username string `json:"username,omitempty"`
Scopes []Scope `json:"scopes,omitempty"`
jwt.StandardClaims
}
type Scope struct {
URI string `json:"uri,omitempty"`
Method string `json:"method,omitempty"`
Exclude bool `json:"exclude,omitempty"`
}
type Token struct {
Claims *Claims
TokenStr string
JwtToken *jwt.Token
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.