{"modulePath":"github.com/hookdeck/hookdeck-cli","version":"v1.9.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package login\n\n## Functions\n\n```go\nfunc CILogin(config *config.Config, apiKey string, name string) error\n```\n\n```go\nfunc GuestLogin(config *config.Config) (string, error)\n```\n\n```go\nfunc InteractiveLogin(config *config.Config) error\n```\nInteractiveLogin lets the user set configuration on the command line\n\n```go\nfunc Login(config *config.Config, input io.Reader) error\n```\nLogin function is used to obtain credentials via hookdeck dashboard.\n\n```go\nfunc SuccessMessage(displayName string, email string, organizationName string, teamName string, isConsole bool) string\n```\nSuccessMessage returns the display message for a successfully authenticated user\n\n```go\nfunc ValidateKey(baseURL string, key string, projectId string) (*hookdeck.ValidateAPIKeyResponse, error)\n```\nValidateKey validates an API key and returns user/project information\n\n","path":"github.com/hookdeck/hookdeck-cli/pkg/login","name":"login","synopsis":"","isRedistributable":true}
