Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
type ClaimNotFoundError ¶
type ClaimNotFoundError struct { Claim string Expected interface{} Got interface{} }
func NewClaimNotFoundError ¶
func NewClaimNotFoundError(claim string, expected, got interface{}) ClaimNotFoundError
func (ClaimNotFoundError) Error ¶
func (e ClaimNotFoundError) Error() string
type Config ¶
type Config struct { Authority string `yaml:"authority" json:"authority"` ClientID string `yaml:"clientID" json:"clientId"` ClientSecretFile urischeme.URIScheme `yaml:"clientSecretFile" json:"clientSecretFile"` Scopes []string `yaml:"scopes" json:"scopes"` TokenURL string `yaml:"-" json:"tokenUrl"` Audience string `yaml:"audience" json:"audience"` ClientSecret string `yaml:"-" json:"clientSecret"` HTTP client.Config `yaml:"http" json:"http"` }
func (Config) ToClientCredentials ¶
func (c Config) ToClientCredentials(tokenURL, clientSecret string) clientcredentials.Config
func (Config) ToDefaultClientCredentials ¶
func (c Config) ToDefaultClientCredentials() clientcredentials.Config
Click to show internal directories.
Click to hide internal directories.