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

Function FakeIDPKey

coderd/coderdtest/oidctest/idp.go:1798–1801  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1796-----END RSA PRIVATE KEY-----`
1797
1798func FakeIDPKey() (*rsa.PrivateKey, error) {
1799 block, _ := pem.Decode([]byte(testRSAPrivateKey))
1800 return x509.ParsePKCS1PrivateKey(block.Bytes)
1801}

Callers 1

NewFakeIDPFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected