Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for authenticateHTTP (0.18 sec)

  1. security/pkg/server/ca/authenticate/cert_authenticator.go

    	}
    
    	return &security.Caller{
    		AuthSource: security.AuthSourceClientCertificate,
    		Identities: ids,
    	}, nil
    }
    
    // authenticateHTTP performs mTLS authentication for http requests. Requires having the endpoints on a listener
    // with proper TLS configuration.
    func (cca *ClientCertAuthenticator) authenticateHTTP(req *http.Request) (*security.Caller, error) {
    	if req.TLS == nil || req.TLS.VerifiedChains == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 19 02:12:12 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  2. pkg/security/mock.go

    	if authCtx.GrpcContext != nil {
    		return f.authenticateGrpc(authCtx.GrpcContext)
    	}
    	if authCtx.Request != nil {
    		return f.authenticateHTTP(authCtx.Request)
    	}
    	return nil, nil
    }
    
    func (f *FakeAuthenticator) authenticateHTTP(req *http.Request) (*Caller, error) {
    	return nil, errors.New("not implemented")
    }
    
    func (f *FakeAuthenticator) authenticateGrpc(ctx context.Context) (*Caller, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. security/pkg/server/ca/authenticate/kubeauth/kube_jwt.go

    	if authRequest.GrpcContext != nil {
    		return a.authenticateGrpc(authRequest.GrpcContext)
    	}
    	if authRequest.Request != nil {
    		return a.authenticateHTTP(authRequest.Request)
    	}
    	return nil, nil
    }
    
    func (a *KubeJWTAuthenticator) authenticateHTTP(req *http.Request) (*security.Caller, error) {
    	targetJWT, err := security.ExtractRequestToken(req)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top