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

Function withVerifyExpected

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

Source from the content-addressed store, hash-verified

370}
371
372func withVerifyExpected(e jwt.Expected) func(*jwtutils.VerifyOptions) {
373 return func(opts *jwtutils.VerifyOptions) {
374 opts.RegisteredClaims = e
375 }
376}
377
378func withSignatureAlgorithm(alg jose.SignatureAlgorithm) func(*jwtutils.VerifyOptions) {
379 return func(opts *jwtutils.VerifyOptions) {

Callers 2

TestClaimsFunction · 0.85
TestJWSFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected