Documentation ¶
Index ¶
- func HttpClient(ctx context.Context, ts oauth2.TokenSource) *http.Client
- func Init(ctx context.Context, local bool, scopes ...string) (oauth2.TokenSource, error)
- func InitHttpClient(ctx context.Context, local bool, scopes ...string) (*http.Client, oauth2.TokenSource, error)
- func WithTokenSource(ctx context.Context, ts oauth2.TokenSource) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HttpClient ¶
func InitHttpClient ¶
func WithTokenSource ¶
WithTokenSource returns a context.Context that will make use of the provided TokenSource if the context is passed into auth_steps.Init instead of getting a real token source.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.