Class OAuthBearerTokenImpl
- java.lang.Object
-
- io.streamnative.pulsar.handlers.kop.security.oauth.OAuthBearerTokenImpl
-
- All Implemented Interfaces:
org.apache.kafka.common.security.oauthbearer.OAuthBearerToken
public class OAuthBearerTokenImpl extends Object implements org.apache.kafka.common.security.oauthbearer.OAuthBearerToken
-
-
Constructor Summary
Constructors Constructor Description OAuthBearerTokenImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longlifetimeMs()StringprincipalName()Set<String>scope()LongstartTimeMs()Stringvalue()
-
-
-
Method Detail
-
value
public String value()
- Specified by:
valuein interfaceorg.apache.kafka.common.security.oauthbearer.OAuthBearerToken
-
scope
public Set<String> scope()
- Specified by:
scopein interfaceorg.apache.kafka.common.security.oauthbearer.OAuthBearerToken
-
lifetimeMs
public long lifetimeMs()
- Specified by:
lifetimeMsin interfaceorg.apache.kafka.common.security.oauthbearer.OAuthBearerToken
-
principalName
public String principalName()
- Specified by:
principalNamein interfaceorg.apache.kafka.common.security.oauthbearer.OAuthBearerToken
-
startTimeMs
public Long startTimeMs()
- Specified by:
startTimeMsin interfaceorg.apache.kafka.common.security.oauthbearer.OAuthBearerToken
-
-