Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for jwtPubKey (0.3 sec)

  1. pilot/pkg/model/test/mockopenidserver.go

    type MockOpenIDDiscoveryServer struct {
    	Port   int
    	URL    string
    	server *http.Server
    
    	// How many times openIDCfg is called, use this number to verify cache takes effect.
    	OpenIDHitNum uint64
    
    	// How many times jwtPubKey is called, use this number to verify cache takes effect.
    	PubKeyHitNum uint64
    
    	// The mock server will return an error for the first number of hits for public key, this is used
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. pilot/pkg/model/jwks_resolver.go

    func (r *JwksResolver) BuildLocalJwks(jwksURI, jwtIssuer, jwtPubKey string, timeout time.Duration) *envoy_jwt.JwtProvider_LocalJwks {
    	var err error
    	if jwtPubKey == "" {
    		// jwtKeyResolver should never be nil since the function is only called in Discovery Server request processing
    		// workflow, where the JWT key resolver should have already been initialized on server creation.
    		jwtPubKey, err = r.GetPublicKey(jwtIssuer, jwksURI, timeout)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 20.3K bytes
    - Viewed (0)
Back to top