Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTokenSource ¶
func NewTokenSource(opts ...TokenSourceOption) (oauth2.TokenSource, error)
Types ¶
type TokenSourceOption ¶
type TokenSourceOption func(source *tokenSource)
func WithAccessToken ¶
func WithAccessToken(token, tokenType string, expiry time.Time) TokenSourceOption
func WithDefaultContext ¶
func WithDefaultContext(ctx context.Context) TokenSourceOption
Click to show internal directories.
Click to hide internal directories.