Documentation ¶
Overview ¶
Package jwtperm delivers and checks the JWT permissions
Index ¶
Constants ¶
View Source
const ( HTTP = "http" HTTPS = "https" )
Variables ¶
View Source
var ( ErrNoTokenFound = errors.New("no JWT found") )
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker struct {
// contains filtered or unexported fields
}
type RefreshClaims ¶ added in v0.7.0
type RefreshClaims struct { Namespace string `json:"n,omitempty"` UserName string `json:"u,omitempty"` jwt.RegisteredClaims }
RefreshClaims is the user refresh token.
Click to show internal directories.
Click to hide internal directories.