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

Function withDecryptExpected

coderd/jwtutils/jwt_test.go:366–370  ·  view source on GitHub ↗
(e jwt.Expected)

Source from the content-addressed store, hash-verified

364}
365
366func withDecryptExpected(e jwt.Expected) func(*jwtutils.DecryptOptions) {
367 return func(opts *jwtutils.DecryptOptions) {
368 opts.RegisteredClaims = e
369 }
370}
371
372func withVerifyExpected(e jwt.Expected) func(*jwtutils.VerifyOptions) {
373 return func(opts *jwtutils.VerifyOptions) {

Callers 2

TestClaimsFunction · 0.85
TestJWEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected