A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pkg.go.dev/github.com/terramate-io/terramate@v0.14.4/ui/tui/cliauth below:

cliauth package - github.com/terramate-io/terramate/ui/tui/cliauth - Go Packages

Package cliauth provides the helper functions for loading the Terramate Cloud credentials.

View Source
const (

	
	
	ErrIDPNeedConfirmation errors.Kind = "the account was already set up with another email provider"

	
	ErrEmailNotVerified errors.Kind = "email is not verified"

	
	ErrLoginRequired errors.Kind = "cloud login required"
)

This section is empty.

CredentialFile returns the path to the credential file.

EnvBaseURL returns the base URL for the TMC API.

GithubLogin logs in the user using GitHub.

GoogleLogin logs in the user using Google OAuth.

SSOLogin logs in the user using SingleSignOn.

APIKey implements the credential interface.

ApplyCredentials applies the API key to the request.

ExpireAt should never be called.

HasExpiration returns false because the CLI has no information about the expiration of the API key.

Info display the credential details.

IsExpired returns false because the CLI has no information about the expiration of the API key.

Load loads the API key from the environment.

Name returns the name of the authentication method.

Organizations that the API key belong to.

RedactCredentials redacts the API key from the request.

Token returns the API key token.

Credential is the interface for the cloud credentials.

ProbingPrecedence returns the probing precedence for the loading of credentials.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4