mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 11:48:43 -07:00
This adds the ability to augment or override the NATS auth system. A server will send a signed request to $SYS.REQ.USER.AUTH on the specified account. The request will contain client information, all client options sent to the server, and optionally TLS information and client certificates. The external auth service will respond with an empty message if not authorized, or a signed User JWT that the user will bind to. The response can change the account the client will be bound to. Signed-off-by: Derek Collison <derek@nats.io>
22 lines
583 B
Modula-2
22 lines
583 B
Modula-2
module github.com/nats-io/nats-server/v2
|
|
|
|
go 1.19
|
|
|
|
require (
|
|
github.com/klauspost/compress v1.15.11
|
|
github.com/minio/highwayhash v1.0.2
|
|
github.com/nats-io/jwt/v2 v2.3.1-0.20221227170542-bdf40fa3627b
|
|
github.com/nats-io/nats.go v1.19.0
|
|
github.com/nats-io/nkeys v0.3.1-0.20221215194120-47c7408e7546
|
|
github.com/nats-io/nuid v1.0.1
|
|
go.uber.org/automaxprocs v1.5.1
|
|
golang.org/x/crypto v0.3.0
|
|
golang.org/x/sys v0.2.0
|
|
golang.org/x/time v0.0.0-20220922220347-f3bd1da661af
|
|
)
|
|
|
|
require (
|
|
github.com/golang/protobuf v1.4.2 // indirect
|
|
google.golang.org/protobuf v1.23.0 // indirect
|
|
)
|