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

Function withContentEncryptionAlgorithm

coderd/jwtutils/jwt_test.go:390–394  ·  view source on GitHub ↗
(alg jose.ContentEncryption)

Source from the content-addressed store, hash-verified

388}
389
390func withContentEncryptionAlgorithm(alg jose.ContentEncryption) func(*jwtutils.DecryptOptions) {
391 return func(opts *jwtutils.DecryptOptions) {
392 opts.ContentEncryptionAlgorithm = alg
393 }
394}
395
396type key struct {
397 t testing.TB

Callers 1

TestJWEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected