auth

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2021 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetToken

func GetToken() (*oauth2.Token, error)

Types

type AuthorizedClient

type AuthorizedClient struct {
	*http.Client
	Token *oauth2.Token
}

type TokenManager

type TokenManager struct {
	// contains filtered or unexported fields
}

func GetTokenManager

func GetTokenManager() (*TokenManager, error)

func (*TokenManager) TokenSource

func (t *TokenManager) TokenSource(ctx context.Context) oauth2.TokenSource

Jump to

Keyboard shortcuts

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