Documentation
¶
Index ¶
Constants ¶
View Source
const ( RsaTokenGenerator = "jwt_rsa_generator" FileTokenGenerator = "jwt_file_reader" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JwtGenerator ¶
func NewFileBasedJwtGenerator ¶
func NewFileBasedJwtGenerator(jwtFilename string) (JwtGenerator, error)
func NewRSABasedJwtGenerator ¶
func NewRSABasedJwtGenerator(privateKeyFile string, clientId string, tokenExpiry int) (JwtGenerator, error)
Click to show internal directories.
Click to hide internal directories.