Package com.sun.mail.auth
Class OAuth2SaslClient
java.lang.Object
com.sun.mail.auth.OAuth2SaslClient
- All Implemented Interfaces:
SaslClient
Jakarta Mail SASL client for OAUTH2.
- Author:
- Bill Shannon
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()byte[]evaluateChallenge(byte[] challenge) getNegotiatedProperty(String propName) booleanbooleanbyte[]unwrap(byte[] incoming, int offset, int len) byte[]wrap(byte[] outgoing, int offset, int len)
-
Constructor Details
-
OAuth2SaslClient
-
-
Method Details
-
getMechanismName
- Specified by:
getMechanismNamein interfaceSaslClient
-
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
-