MCPcopy Index your code
hub / github.com/coder/coder / WithDefaultIDClaims

Function WithDefaultIDClaims

coderd/coderdtest/oidctest/idp.go:357–361  ·  view source on GitHub ↗
(claims jwt.MapClaims)

Source from the content-addressed store, hash-verified

355}
356
357func WithDefaultIDClaims(claims jwt.MapClaims) func(*FakeIDP) {
358 return func(f *FakeIDP) {
359 f.defaultIDClaims = claims
360 }
361}
362
363func WithDynamicUserInfo(userInfoFunc func(email string) (jwt.MapClaims, error)) func(*FakeIDP) {
364 return func(f *FakeIDP) {

Callers 3

TestOIDCSkipIssuerFunction · 0.92
TestIDPIssuerMismatchFunction · 0.92
RunIDPFunction · 0.92

Calls

no outgoing calls

Tested by 2

TestOIDCSkipIssuerFunction · 0.74
TestIDPIssuerMismatchFunction · 0.74