auth_steps

package
v0.0.0-...-2ad74da Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2024 License: BSD-3-Clause Imports: 8 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HttpClient

func HttpClient(ctx context.Context, ts oauth2.TokenSource) *http.Client

func Init

func Init(ctx context.Context, local bool, scopes ...string) (oauth2.TokenSource, error)

func InitHttpClient

func InitHttpClient(ctx context.Context, local bool, scopes ...string) (*http.Client, oauth2.TokenSource, error)

func WithTokenSource

func WithTokenSource(ctx context.Context, ts oauth2.TokenSource) context.Context

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL