Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Claim ¶
type Claim struct {
Secret string `json:"secret"`
}
Claim describes the claim for the token
type JWTProvider ¶
type JWTProvider struct {
// contains filtered or unexported fields
}
JWTProvider implements the validate method
func NewJWTProvider ¶
func NewJWTProvider(settings config.Auth) (*JWTProvider, error)
NewJWTProvider returns a new pointer for the created provider
Click to show internal directories.
Click to hide internal directories.