Documentation ¶
Index ¶
Constants ¶
View Source
const PublicKeyUser = "___public__key_user"
Variables ¶
View Source
var ErrInvalidToken = errors.New("invalid token")
View Source
var (
ErrJWTExpired = errors.New("token expired")
)
Functions ¶
This section is empty.
Types ¶
type Claim ¶
type Claim struct { PublicKey string jwt.RegisteredClaims }
Claim adds email as a claim to the token
type DecodeJWTClaims ¶
Click to show internal directories.
Click to hide internal directories.