- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestDefaultExpiryDuration (0.28 sec)
-
internal/config/identity/openid/jwt_test.go
t.Fatal(err) } var claims jwtgo.MapClaims if err = cfg.Validate(context.Background(), DummyRoleARN, u.Query().Get("Token"), "", "", claims); err == nil { t.Fatal(err) } } func TestDefaultExpiryDuration(t *testing.T) { testCases := []struct { reqURL string duration time.Duration expectErr bool }{ { reqURL: "http://127.0.0.1:8443/?Token=xxxxx",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8.3K bytes - Viewed (0)