Documentation ¶
Index ¶
- Constants
- func IsAuthResponseTimedOut(err error) bool
- func IsContextAlreadySelected(err error) bool
- func IsContextDoesNotExist(err error) bool
- func IsIncorrectConfiguration(err error) bool
- func IsInvalidAuthConfiguration(err error) bool
- func IsInvalidAuthResult(err error) bool
- func IsInvalidConfig(err error) bool
- func IsInvalidFlag(err error) bool
- func IsNewLoginRequired(err error) bool
- func IsSelectedTokenNonCompatible(err error) bool
- func IsTokenRenewalFailed(err error) bool
- func IsUnknownUrl(err error) bool
- func New(config Config) (*cobra.Command, error)
- type Config
Constants ¶
View Source
const ( ClientID = "client-id" Issuer = "idp-issuer-url" IDToken = "id-token" RefreshToken = "refresh-token" )
Variables ¶
This section is empty.
Functions ¶
func IsAuthResponseTimedOut ¶ added in v1.29.0
IsAuthResponseTimedOut asserts authResponseTimedOutError.
func IsContextAlreadySelected ¶
IsContextAlreadySelected asserts contextAlreadySelectedError.
func IsContextDoesNotExist ¶
IsContextDoesNotExist asserts contextDoesNotExistError.
func IsIncorrectConfiguration ¶
IsIncorrectConfiguration asserts incorrectConfigurationError.
func IsInvalidAuthConfiguration ¶ added in v1.21.0
IsInvalidAuthConfiguration asserts invalidAuthConfigurationError.
func IsInvalidAuthResult ¶
IsInvalidAuthResult asserts invalidAuthResult.
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
func IsNewLoginRequired ¶ added in v1.39.1
IsNewLoginRequired asserts newLoginRequiredError.
func IsSelectedTokenNonCompatible ¶
IsSelectedTokenNonCompatible asserts selectedContextNonCompatibleError.
func IsTokenRenewalFailed ¶
IsTokenRenewalFailed asserts tokenRenewalFailedError.
Types ¶
Click to show internal directories.
Click to hide internal directories.