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

Function withSignatureAlgorithm

coderd/jwtutils/jwt_test.go:378–382  ·  view source on GitHub ↗
(alg jose.SignatureAlgorithm)

Source from the content-addressed store, hash-verified

376}
377
378func withSignatureAlgorithm(alg jose.SignatureAlgorithm) func(*jwtutils.VerifyOptions) {
379 return func(opts *jwtutils.VerifyOptions) {
380 opts.SignatureAlgorithm = alg
381 }
382}
383
384func withKeyAlgorithm(alg jose.KeyAlgorithm) func(*jwtutils.DecryptOptions) {
385 return func(opts *jwtutils.DecryptOptions) {

Callers 1

TestJWSFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected