Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ParseJwksURI (0.13 sec)

  1. pkg/config/security/security_test.go

    				Hostname: "foo.bar.com",
    				Scheme:   "https",
    				Port:     1234,
    				UseSSL:   true,
    			},
    		},
    	}
    	for _, c := range cases {
    		actual, err := security.ParseJwksURI(c.in)
    		if c.expectedError == (err == nil) {
    			t.Fatalf("ParseJwksURI(%s): expected error (%v), got (%v)", c.in, c.expectedError, err)
    		}
    		if !reflect.DeepEqual(c.expected, actual) {
    			t.Fatalf("expected %+v, got %+v", c.expected, actual)
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 20 01:58:53 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. pkg/config/security/security.go

    	attrExperimental     = "experimental.envoy.filters."
    )
    
    var (
    	MatchOneTemplate = "{*}"
    	MatchAnyTemplate = "{**}"
    )
    
    // ParseJwksURI parses the input URI and returns the corresponding hostname, port, and whether SSL is used.
    // URI must start with "http://" or "https://", which corresponding to "http" or "https" scheme.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:43:34 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top