Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CompileAndValidateJWTAuthenticator (2.69 sec)

  1. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation.go

    			seenDiscoveryURLs.Insert(a.Issuer.DiscoveryURL)
    		}
    	}
    
    	return allErrs
    }
    
    // CompileAndValidateJWTAuthenticator validates a given JWTAuthenticator and returns a CELMapper with the compiled
    // CEL expressions for claim mappings and validation rules.
    // This is exported for use in oidc package.
    func CompileAndValidateJWTAuthenticator(authenticator api.JWTAuthenticator, disallowedIssuers []string) (authenticationcel.CELMapper, field.ErrorList) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc.go

    func New(lifecycleCtx context.Context, opts Options) (AuthenticatorTokenWithHealthCheck, error) {
    	celMapper, fieldErr := apiservervalidation.CompileAndValidateJWTAuthenticator(opts.JWTAuthenticator, opts.DisallowedIssuers)
    	if err := fieldErr.ToAggregate(); err != nil {
    		return nil, err
    	}
    
    	supportedSigningAlgs := opts.SupportedSigningAlgs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 37.9K bytes
    - Viewed (0)
Back to top