public interface BearerTokenWithPayload
extends org.apache.kafka.common.security.oauthbearer.OAuthBearerToken
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.String> |
getGroups()
Get groups associated with this token (principal).
|
com.fasterxml.jackson.databind.node.ObjectNode |
getJSON()
The token claims as a JSON object.
|
java.lang.Object |
getPayload()
Get the usage dependent object previously associated with this instance by calling
setPayload(Object) |
default int |
getSessionId()
This method returns an id of the current instance of this object.
|
void |
setPayload(java.lang.Object payload)
Associate a usage dependent object with this instance
|
java.lang.Object getPayload()
setPayload(Object)void setPayload(java.lang.Object payload)
payload - The object to associate with this instancejava.util.Set<java.lang.String> getGroups()
com.fasterxml.jackson.databind.node.ObjectNode getJSON()
default int getSessionId()
Copyright © 2023. All rights reserved.