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

Function withKeyAlgorithm

coderd/jwtutils/jwt_test.go:384–388  ·  view source on GitHub ↗
(alg jose.KeyAlgorithm)

Source from the content-addressed store, hash-verified

382}
383
384func withKeyAlgorithm(alg jose.KeyAlgorithm) func(*jwtutils.DecryptOptions) {
385 return func(opts *jwtutils.DecryptOptions) {
386 opts.KeyAlgorithm = alg
387 }
388}
389
390func withContentEncryptionAlgorithm(alg jose.ContentEncryption) func(*jwtutils.DecryptOptions) {
391 return func(opts *jwtutils.DecryptOptions) {

Callers 1

TestJWEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected