MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / mockOIDCProviderWithNoValidationKey

Function mockOIDCProviderWithNoValidationKey

db/database_test.go:3223–3232  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3221}
3222
3223func mockOIDCProviderWithNoValidationKey() auth.OIDCProvider {
3224 return auth.OIDCProvider{
3225 Name: "Yahoo",
3226 CallbackURL: &callbackURL,
3227 JWTConfigCommon: auth.JWTConfigCommon{
3228 Issuer: "https://accounts.yahoo.com",
3229 ClientID: base.Ptr(clientID),
3230 },
3231 }
3232}
3233
3234func mockOIDCOptions() *auth.OIDCOptions {
3235 provider := mockOIDCProvider()

Callers 1

Calls 1

PtrFunction · 0.92

Tested by

no test coverage detected