loginflow

package
v1.29.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 17 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginFlow

type LoginFlow struct {

	// Keyring optionally overrides the keyring that auth tokens are saved to.
	Keyring keyring.Keyring
	// contains filtered or unexported fields
}

func NewFromConfig

func NewFromConfig(cfg *config.Context) LoginFlow

func (LoginFlow) Login

func (lf LoginFlow) Login(ctx context.Context) error

func (*LoginFlow) RefreshToken

func (lf *LoginFlow) RefreshToken(ctx context.Context) (*oauth2.Token, error)

Jump to

Keyboard shortcuts

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