auth

package
v0.0.0-...-81ceaaa Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authenticate

func Authenticate(ctx context.Context, cmd *cobra.Command, host string, verboseLogging bool) (string, error)

func ConfigFilePath

func ConfigFilePath() (string, error)

func RemoveCredentials

func RemoveCredentials(cmd *cobra.Command) error

func StoreCredentials

func StoreCredentials(cmd *cobra.Command, authFile *SagaAuthFile) error

Types

type SagaAuthFile

type SagaAuthFile struct {
	ClientID     string `json:"clientID"`
	ClientSecret string `json:"clientSecret"`
}

Jump to

Keyboard shortcuts

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