Documentation ¶
Index ¶
- func NewJWTProfileTokenSource(issuer, clientID, keyID string, key []byte, scopes []string, ...) (oauth2.TokenSource, error)
- func NewJWTProfileTokenSourceFromKeyFile(issuer, keyPath string, scopes []string, ...) (oauth2.TokenSource, error)
- func NewJWTProfileTokenSourceFromKeyFileData(issuer string, data []byte, scopes []string, ...) (oauth2.TokenSource, error)
- func WithHTTPClient(client *http.Client) func(*jwtProfileTokenSource)
- func WithStaticTokenEndpoint(issuer, tokenEndpoint string) func(*jwtProfileTokenSource)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewJWTProfileTokenSourceFromKeyFile ¶
func NewJWTProfileTokenSourceFromKeyFile(issuer, keyPath string, scopes []string, options ...func(source *jwtProfileTokenSource)) (oauth2.TokenSource, error)
func WithHTTPClient ¶
func WithStaticTokenEndpoint ¶
func WithStaticTokenEndpoint(issuer, tokenEndpoint string) func(*jwtProfileTokenSource)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.