Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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
func (JWTProvider) Validate ¶
func (jp JWTProvider) Validate(tokenString string) bool
Validate is for validating if the given token is authenticated
Click to show internal directories.
Click to hide internal directories.