Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrSigningToken = errors.New("cannot sign token") ErrInvalidToken = errors.New("invalid token") )
Functions ¶
This section is empty.
Types ¶
type JWTBase ¶
type JWTBase[K KeyConstraint] struct { // contains filtered or unexported fields }
type JWTECDSA ¶
type JWTECDSA struct { JWTBase[*ecdsa.PrivateKey] }
func NewJWTECDSA ¶
func NewJWTES256 ¶
func NewJWTES512 ¶
type KeyConstraint ¶
type KeyConstraint interface { []byte | *ecdsa.PrivateKey }
type UserClaims ¶
Click to show internal directories.
Click to hide internal directories.