Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CachedTokenSource ¶
type CachedTokenSource struct {
Inner oauth2.TokenSource
// contains filtered or unexported fields
}
func GetTokenSource ¶
func GetTokenSource() (context.Context, CachedTokenSource)
func NewCachedTokenSource ¶
func NewCachedTokenSource(ctx context.Context, inner oauth2.TokenSource, config oauth2.Config) CachedTokenSource
type GoogleAuthTokenSource ¶
type GoogleAuthTokenSource struct {
Config oauth2.Config
// contains filtered or unexported fields
}
func NewGoogleTokenSource ¶
func NewGoogleTokenSource(ctx context.Context) GoogleAuthTokenSource
Click to show internal directories.
Click to hide internal directories.