- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ParseJwksURI (0.13 sec)
-
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) -
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)