package
11.1.0+incompatible
Repository: https://github.com/fastly/cli.git
Documentation: pkg.go.dev

# Functions

IsLongLivedToken identifies if profile has SSO access/refresh values set.
TokenExpired indicates if the specified TTL has past.

# Constants

ClientID is the auth provider's Client ID.
OIDCMetadata is OpenID Connect's metadata discovery mechanism.
RedirectURL is the endpoint the auth provider will pass an authorization code to.
Remediation is a generic remediation message for an error authorizing.

# Variables

ErrInvalidGrant represents an error refreshing the user's token.

# Structs

APIToken is returned from the /login-enhanced endpoint.
AuthorizationResult represents the result of the authorization process.
JWT is the API response for a Token request.
Param is an individual parameter set on the authorization_endpoint.
RefreshError represents an error when refreshing the user's token.
Server is a local server responsible for authentication processing.
WellKnownEndpoints represents the OpenID Connect metadata.

# Interfaces

Runner defines the behaviour for the authentication server.