Class OAuthBearerValidatorCallback

java.lang.Object
org.apache.kafka.common.security.oauthbearer.OAuthBearerValidatorCallback
All Implemented Interfaces:
Callback

public class OAuthBearerValidatorCallback extends Object implements Callback
A Callback for use by the SaslServer implementation when it needs to provide an OAuth 2 bearer token compact serialization for validation. Callback handlers should use the error(String, String, String) method to communicate errors back to the SASL Client as per RFC 6749: The OAuth 2.0 Authorization Framework and the IANA OAuth Extensions Error Registry. Callback handlers should communicate other problems by raising an IOException.