auth

package
v0.0.0-...-277eb20 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

func NewAuth

func NewAuth(prime primeable) *Auth

func (*Auth) Run

func (a *Auth) Run(params *AuthParams) error

Run runs our command

type AuthParams

type AuthParams struct {
	Token          string
	Username       string
	Password       string
	Totp           string
	Prompt         bool
	NonInteractive bool
}

type Logout

type Logout struct {
	output.Outputer
	*authentication.Auth
	Cfg keypairs.Configurable
}

func NewLogout

func NewLogout(prime primeable) *Logout

func (*Logout) Run

func (l *Logout) Run() error

type Signup

func NewSignup

func NewSignup(prime primeable) *Signup

func (*Signup) Run

func (s *Signup) Run(params *SignupParams) error

type SignupParams

type SignupParams struct {
	Prompt bool
}

Jump to

Keyboard shortcuts

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