package
Version:
v0.0.0-...-a14a4d2
Opens a new window with list of versions in this module.
Published: Dec 27, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Options struct {
SignMethod jwt.SigningMethod
PublicKey []byte
PrivateKey []byte
Issuer string
}
Options ...
func DefaultTokenOptions() *Options
DefaultTokenOptions ...
NewOptions create Options based on input parms
type Token struct {
jwt.Token
Opt *Options
Claim jwt.Claims
}
Token is a jwt token for harbor robot account,
Raw get the Raw string of token
Source Files
¶
Directories
¶
claims
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.