Class OauthBearerSaslClient
java.lang.Object
com.couchbase.client.core.io.netty.kv.sasl.OauthBearerSaslClient
- All Implemented Interfaces:
SaslClient
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOauthBearerSaslClient(@Nullable String authorizationId, CallbackHandler callbackHandler) -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()byte[]evaluateChallenge(byte[] challenge) protected byte[]getInitialResponse(CallbackHandler callbackHandler) @Nullable ObjectgetNegotiatedProperty(String propName) booleanbooleanbyte[]unwrap(byte[] incoming, int offset, int len) byte[]wrap(byte[] outgoing, int offset, int len)
-
Field Details
-
authorizationId
-
-
Constructor Details
-
OauthBearerSaslClient
-
-
Method Details
-
getMechanismName
-
getInitialResponse
- Throws:
SaslException
-
hasInitialResponse
public boolean hasInitialResponse()- Specified by:
hasInitialResponsein interfaceSaslClient
-
evaluateChallenge
- Specified by:
evaluateChallengein interfaceSaslClient- Throws:
SaslException
-
isComplete
public boolean isComplete()- Specified by:
isCompletein interfaceSaslClient
-
unwrap
- Specified by:
unwrapin interfaceSaslClient- Throws:
SaslException
-
wrap
- Specified by:
wrapin interfaceSaslClient- Throws:
SaslException
-
getNegotiatedProperty
- Specified by:
getNegotiatedPropertyin interfaceSaslClient
-
dispose
- Specified by:
disposein interfaceSaslClient- Throws:
SaslException
-