package
Version:
v0.0.0-...-3eb4ebe
Opens a new window with list of versions in this module.
Published: May 24, 2022
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
ScopeAuthentication = "authentication"
)
type Token struct {
PlainText string `json:"plaintext"`
Hash []byte `json:"-"`
UserID uint64 `json:"user_id"`
Expiry time.Time `json:"expiry"`
Scope string `json:"-"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.