Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnauthenticated = errors.New("unauthenticated: missing or invalid Authorization header")
Functions ¶
This section is empty.
Types ¶
type InsecureAuthenticator ¶
type InsecureAuthenticator struct{}
func (*InsecureAuthenticator) Authenticate ¶
func (*InsecureAuthenticator) UpstreamAuth ¶
type ProxyAuthenticator ¶
type ProxyAuthenticator struct {
// contains filtered or unexported fields
}
func NewProxyAuthenticator ¶
func NewProxyAuthenticator(userIDClaim string) *ProxyAuthenticator
func (*ProxyAuthenticator) Authenticate ¶
func (*ProxyAuthenticator) UpstreamAuth ¶
type ServiceAccountProvider ¶
type ServiceAccountProvider struct {
// contains filtered or unexported fields
}
ServiceAccountProvider verifies Kubernetes credentials independently of the user provider. Unverified claims only select this verifier, never authority.
func NewServiceAccountProvider ¶
func NewServiceAccountProvider(users auth.AuthProvider, reviews typedauth.TokenReviewInterface, authority string) *ServiceAccountProvider
func (*ServiceAccountProvider) Authenticate ¶
func (*ServiceAccountProvider) UpstreamAuth ¶
Click to show internal directories.
Click to hide internal directories.