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.OAuthBearerTokenpublic Set<String> scope()
scope in interface org.apache.kafka.common.security.oauthbearer.OAuthBearerTokenpublic long lifetimeMs()
lifetimeMs in interface org.apache.kafka.common.security.oauthbearer.OAuthBearerTokenpublic String principalName()
principalName in interface org.apache.kafka.common.security.oauthbearer.OAuthBearerTokenpublic Long startTimeMs()
startTimeMs in interface org.apache.kafka.common.security.oauthbearer.OAuthBearerToken