login

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLoginCmd added in v1.1.0

func NewLoginCmd() *cobra.Command

Types

type AuthImpl

type AuthImpl struct{}

func NewAuthImpl

func NewAuthImpl() *AuthImpl

func (*AuthImpl) GetLoginPrompt

func (i *AuthImpl) GetLoginPrompt() string

func (*AuthImpl) IsLoggedIn

func (i *AuthImpl) IsLoggedIn() bool

func (*AuthImpl) Login

func (i *AuthImpl) Login(params LoginParams) error

type LoginParams added in v1.1.0

type LoginParams struct {
	ClientCredentials bool
	ClientID          string
	ClientSecret      string
	Scope             string
	CredentialName    string
}

LoginParams defines parameters for the login command.

Jump to

Keyboard shortcuts

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