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

Function WithIssuer

coderd/coderdtest/oidctest/idp.go:376–380  ·  view source on GitHub ↗
(issuer string)

Source from the content-addressed store, hash-verified

374}
375
376func WithIssuer(issuer string) func(*FakeIDP) {
377 return func(f *FakeIDP) {
378 f.locked.SetIssuer(issuer)
379 }
380}
381
382// WithOmitEmailVerifiedDefault suppresses the default email_verified=true
383// injection in encodeClaims. Use this for tests that exercise the handler's

Callers 3

TestAzureAKPKIWithCoderdFunction · 0.92
TestIDPIssuerMismatchFunction · 0.92
RunIDPFunction · 0.92

Calls 1

SetIssuerMethod · 0.80

Tested by 2

TestAzureAKPKIWithCoderdFunction · 0.74
TestIDPIssuerMismatchFunction · 0.74