Class IAMOAuthBearerToken

java.lang.Object
software.amazon.msk.auth.iam.IAMOAuthBearerToken
All Implemented Interfaces:
org.apache.kafka.common.security.oauthbearer.OAuthBearerToken

public class IAMOAuthBearerToken extends Object implements org.apache.kafka.common.security.oauthbearer.OAuthBearerToken
Implements the contract provided by OAuthBearerToken interface
  • Constructor Details

  • Method Details

    • value

      public String value()
      Specified by:
      value in interface org.apache.kafka.common.security.oauthbearer.OAuthBearerToken
    • scope

      public Set<String> scope()
      Specified by:
      scope in interface org.apache.kafka.common.security.oauthbearer.OAuthBearerToken
    • lifetimeMs

      public long lifetimeMs()
      Specified by:
      lifetimeMs in interface org.apache.kafka.common.security.oauthbearer.OAuthBearerToken
    • principalName

      public String principalName()
      Specified by:
      principalName in interface org.apache.kafka.common.security.oauthbearer.OAuthBearerToken
    • startTimeMs

      public Long startTimeMs()
      Specified by:
      startTimeMs in interface org.apache.kafka.common.security.oauthbearer.OAuthBearerToken