auth

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrSigninFailed = errors.New("sign in failed")
)

Functions

This section is empty.

Types

type Client added in v0.0.11

type Client struct {
	Config *cli.Config

	Anc    *api.Session
	Hint   tea.Model
	Source string
}

func (Client) Perform added in v0.0.11

func (c Client) Perform(ctx context.Context, drv *ui.Driver) (*api.Session, error)

type SignIn

type SignIn struct {
	Config *cli.Config

	Source string

	Hint tea.Model
}

func (*SignIn) RunTUI added in v0.0.8

func (s *SignIn) RunTUI(ctx context.Context, drv *ui.Driver) error

func (SignIn) UI added in v0.0.8

func (s SignIn) UI() cli.UI

type SignOut

type SignOut struct {
	Config *cli.Config
}

func (SignOut) UI added in v0.0.8

func (s SignOut) UI() cli.UI

type WhoAmI

type WhoAmI struct {
	Config *cli.Config
}

func (WhoAmI) UI added in v0.0.8

func (w WhoAmI) UI() cli.UI

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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