Documentation ¶
Overview ¶
Package jwt implements an oauth2.JWTokenSource implementation.
Index ¶
- func CreateTokenSource(credentials *config.CredentialsConfig) (oauth2.TokenSource, error)
- func CreateTokenSourceFromPrivateKey(privateKeyJWK any, clientID string) (oauth2.TokenSource, error)
- func JWTokenSource(secretKey []byte, pem bool, clientID string, tokenLifetime time.Duration) (oauth2.TokenSource, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTokenSource ¶
func CreateTokenSource(credentials *config.CredentialsConfig) (oauth2.TokenSource, error)
func CreateTokenSourceFromPrivateKey ¶
func CreateTokenSourceFromPrivateKey(privateKeyJWK any, clientID string) (oauth2.TokenSource, error)
func JWTokenSource ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.