(expected jwt.Expected)
| 66 | } |
| 67 | |
| 68 | func 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. |
| 75 | type DecryptOptions struct { |
no outgoing calls