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

Function WithDecryptExpected

coderd/jwtutils/jwe.go:68–72  ·  view source on GitHub ↗
(expected jwt.Expected)

Source from the content-addressed store, hash-verified

66}
67
68func WithDecryptExpected(expected jwt.Expected) func(*DecryptOptions) {
69 return func(opts *DecryptOptions) {
70 opts.RegisteredClaims = expected
71 }
72}
73
74// DecryptOptions are options for decrypting a JWE.
75type DecryptOptions struct {

Callers 2

handleAPIKeySmugglingMethod · 0.92

Calls

no outgoing calls

Tested by 1