Package ai.superstream
Class NatsAuthHandler
java.lang.Object
ai.superstream.NatsAuthHandler
- All Implemented Interfaces:
io.nats.client.AuthHandler
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NatsAuthHandler
-
-
Method Details
-
getID
public char[] getID()- Specified by:
getIDin interfaceio.nats.client.AuthHandler
-
sign
public byte[] sign(byte[] nonce) - Specified by:
signin interfaceio.nats.client.AuthHandler
-
getJWT
public char[] getJWT()- Specified by:
getJWTin interfaceio.nats.client.AuthHandler
-