MCPcopy Create free account
hub / github.com/brimdata/super / testAuthConfig

Function testAuthConfig

service/auth_test.go:17–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15)
16
17func testAuthConfig() service.AuthConfig {
18 return service.AuthConfig{
19 Enabled: true,
20 JWKSPath: "testdata/auth-public-jwks.json",
21 Audience: "testaudience",
22 Domain: "https://testdomain",
23 ClientID: "testclientid",
24 }
25}
26
27func genToken(t *testing.T, tenantID auth.TenantID, userID auth.UserID) string {
28 ac := testAuthConfig()

Callers 3

genTokenFunction · 0.85
TestAuthIdentityFunction · 0.85
TestAuthMethodGetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected