Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config contains the internal configuration for the jwtprovider
func TestConfig ¶
TestConfig builds a new test Config
func (*Config) Authenticate ¶
Authenticate authenticates a requests via a JWT Bearer token, returning the associated Claims if if authentication succeed
func (*Config) SignedToken ¶
SignedToken returns a new signed JWT token string for the given User
Click to show internal directories.
Click to hide internal directories.