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

Function NewLoginHelper

coderd/coderdtest/oidctest/helper.go:30–41  ·  view source on GitHub ↗
(client *codersdk.Client, fake *FakeIDP)

Source from the content-addressed store, hash-verified

28}
29
30func NewLoginHelper(client *codersdk.Client, fake *FakeIDP) *LoginHelper {
31 if client == nil {
32 panic("client must not be nil")
33 }
34 if fake == nil {
35 panic("fake must not be nil")
36 }
37 return &LoginHelper{
38 fake: fake,
39 client: client,
40 }
41}
42
43// Login just helps by making an unauthenticated client and logging in with
44// the given claims. All Logins should be unauthenticated, so this is a

Callers 3

TestAzureAKPKIWithCoderdFunction · 0.92
setupOIDCTestFunction · 0.92

Calls

no outgoing calls

Tested by 3

TestAzureAKPKIWithCoderdFunction · 0.74
setupOIDCTestFunction · 0.74