Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOAuthConfig ¶ added in v0.0.2
Types ¶
type CachedTokenSource ¶
type CachedTokenSource struct {
// contains filtered or unexported fields
}
func GetTokenSource ¶
func GetTokenSource(config oauth2.Config) (context.Context, CachedTokenSource)
func NewCachedTokenSource ¶
func NewCachedTokenSource(ctx context.Context, 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.