login

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CILogin

func CILogin(config *config.Config, apiKey string, name string) error

func GuestLogin

func GuestLogin(config *config.Config) (string, error)

func InteractiveLogin

func InteractiveLogin(config *config.Config) error

InteractiveLogin lets the user set configuration on the command line

func Login

func Login(config *config.Config, input io.Reader) error

Login function is used to obtain credentials via hookdeck dashboard.

func SuccessMessage

func SuccessMessage(displayName string, email string, organizationName string, teamName string, isConsole bool) string

SuccessMessage returns the display message for a successfully authenticated user

func ValidateKey

func ValidateKey(baseURL string, key string, projectId string) (*hookdeck.ValidateAPIKeyResponse, error)

ValidateKey validates an API key and returns user/project information

Types

This section is empty.

Jump to

Keyboard shortcuts

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