public class UnverifiedJwtBearerToken extends Object implements org.apache.kafka.common.security.oauthbearer.OAuthBearerToken
Constructor and Description |
---|
UnverifiedJwtBearerToken(String value) |
Modifier and Type | Method and Description |
---|---|
<T> Optional<T> |
claim(String claim,
Class<T> claimType) |
long |
lifetimeMs() |
String |
principalName() |
Set<String> |
scope() |
Long |
startTimeMs() |
String |
value() |
public UnverifiedJwtBearerToken(String value)
public String value()
value
in interface org.apache.kafka.common.security.oauthbearer.OAuthBearerToken
public Set<String> scope()
scope
in interface org.apache.kafka.common.security.oauthbearer.OAuthBearerToken
public long lifetimeMs()
lifetimeMs
in interface org.apache.kafka.common.security.oauthbearer.OAuthBearerToken
public String principalName()
principalName
in interface org.apache.kafka.common.security.oauthbearer.OAuthBearerToken
public Long startTimeMs()
startTimeMs
in interface org.apache.kafka.common.security.oauthbearer.OAuthBearerToken