[added] support for jwt account option DisallowBearer (#3127)

* [added] support for jwt account option DisallowBearer

change 3 out of 3. Fixes #3084
corresponds to:
https://github.com/nats-io/jwt/pull/177
https://github.com/nats-io/nsc/pull/495

update jwt library to 2.3.0

Signed-off-by: Matthias Hanel <mh@synadia.com>
This commit is contained in:
Matthias Hanel
2022-06-29 18:19:14 +02:00
committed by GitHub
parent b0580cdfc2
commit 6e52608936
6 changed files with 103 additions and 12 deletions

2
go.mod
View File

@@ -5,7 +5,7 @@ go 1.17
require (
github.com/klauspost/compress v1.15.5
github.com/minio/highwayhash v1.0.2
github.com/nats-io/jwt/v2 v2.2.1-0.20220330180145-442af02fd36a
github.com/nats-io/jwt/v2 v2.3.0
github.com/nats-io/nats.go v1.16.0
github.com/nats-io/nkeys v0.3.0
github.com/nats-io/nuid v1.0.1