auth

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInteractive = errors.New("The 'login' command requires an interactive shell when the output format is not 'json'")
	ErrNoSession   = errors.New("No session found")
)

Functions

func Cmd

Cmd encapsulates the commands for authentication.

func LoginCmd

func LoginCmd(hidden bool) command.SetupCommand[*config.Config]

LoginCmd encapsulates the commands for logging in

func LogoutCmd

func LogoutCmd(hidden bool) command.SetupCommand[*config.Config]

LogoutCmd encapsulates the commands for logging out

func StatusCmd

func StatusCmd() command.SetupCommand[*config.Config]

StatusCmd encapsulates the commands for the authentication status

Types

This section is empty.

Jump to

Keyboard shortcuts

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