Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnauthenticated = errors.New("unauthenticated: missing or invalid Authorization header")
Functions ¶
func A2ARequestHandler ¶
func A2ARequestHandler(authProvider auth.AuthProvider, agentNns types.NamespacedName) handler
Types ¶
type A2AAuthenticator ¶
type A2AAuthenticator struct {
// contains filtered or unexported fields
}
func NewA2AAuthenticator ¶
func NewA2AAuthenticator(provider auth.AuthProvider) *A2AAuthenticator
type NoopAuthorizer ¶
type NoopAuthorizer struct{}
type ProxyAuthenticator ¶
type ProxyAuthenticator struct {
// contains filtered or unexported fields
}
func NewProxyAuthenticator ¶
func NewProxyAuthenticator(userIDClaim string) *ProxyAuthenticator
func (*ProxyAuthenticator) Authenticate ¶
func (*ProxyAuthenticator) UpstreamAuth ¶
type SimpleSession ¶
func (*SimpleSession) Principal ¶
func (s *SimpleSession) Principal() auth.Principal
type UnsecureAuthenticator ¶
type UnsecureAuthenticator struct{}
func (*UnsecureAuthenticator) Authenticate ¶
func (*UnsecureAuthenticator) UpstreamAuth ¶
Click to show internal directories.
Click to hide internal directories.