Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIKey ¶
type APIKey struct { auth_credentials.AuthCredentials // contains filtered or unexported fields }
func NewApiKeyIdentity ¶
func NewApiKeyIdentity(name string, labelSelectors map[string]string, authCred auth_credentials.AuthCredentials, k8sClient client.Reader) *APIKey
NewApiKeyIdentity creates a new instance of APIKey
func (*APIKey) Call ¶
Call will evaluate the credentials within the request against the authorized ones
func (*APIKey) FindSecretByName ¶
func (apiKey *APIKey) FindSecretByName(lookup types.NamespacedName) *v1.Secret
type HMAC ¶
type HMAC struct { auth_credentials.AuthCredentials Secret string `yaml:"secret"` }
type KubernetesAuth ¶
type KubernetesAuth struct { auth_credentials.AuthCredentials // contains filtered or unexported fields }
func NewKubernetesAuthIdentity ¶
func NewKubernetesAuthIdentity(authCred auth_credentials.AuthCredentials, audiences []string) (*KubernetesAuth, error)
func (*KubernetesAuth) Call ¶
func (kubeAuth *KubernetesAuth) Call(pipeline common.AuthPipeline, ctx context.Context) (interface{}, error)
type MTLS ¶
type MTLS struct { auth_credentials.AuthCredentials PEM string `yaml:"pem"` }
type OAuth2 ¶
type OAuth2 struct { auth_credentials.AuthCredentials TokenIntrospectionUrl string `yaml:"tokenIntrospectionUrl"` TokenTypeHint string `yaml:"tokenTypeHint,omitempty"` ClientID string `yaml:"clientId"` ClientSecret string `yaml:"clientSecret"` }
func NewOAuth2Identity ¶
func NewOAuth2Identity(tokenIntrospectionUrl string, tokenTypeHint string, clientID string, clientSecret string, creds auth_credentials.AuthCredentials) *OAuth2
type OIDC ¶
type OIDC struct { auth_credentials.AuthCredentials Endpoint string `yaml:"endpoint"` // contains filtered or unexported fields }
func NewOIDC ¶
func NewOIDC(endpoint string, creds auth_credentials.AuthCredentials) *OIDC
Source Files ¶
Click to show internal directories.
Click to hide internal directories.