credentials

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2023 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrExpiredToken = errors.New("token expired")
)

Functions

This section is empty.

Types

type Manager

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

func New

func New() *Manager

func (*Manager) GetClient

func (m *Manager) GetClient(ctx context.Context) *http.Client

func (*Manager) GetUrlLogin added in v0.4.0

func (m *Manager) GetUrlLogin() string

func (*Manager) SaveToken added in v0.4.0

func (m *Manager) SaveToken(ctx context.Context, authCode string) error

func (*Manager) SetConfigWithScopes

func (m *Manager) SetConfigWithScopes(scopes ...string) error

Jump to

Keyboard shortcuts

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