Class OAuthBearerTokenCallback

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

public class OAuthBearerTokenCallback extends Object implements Callback
A Callback for use by the SaslClient and Login implementations when they require an OAuth 2 bearer token. Callback handlers should use the error(String, String, String) method to communicate errors returned by the authorization server as per RFC 6749: The OAuth 2.0 Authorization Framework. Callback handlers should communicate other problems by raising an IOException.
  • Constructor Details

    • OAuthBearerTokenCallback

      public OAuthBearerTokenCallback()
  • Method Details