Package io.deephaven.proto.auth
Interface TokenOrBuilder
- All Superinterfaces:
io.deephaven.shadow.core.com.google.protobuf.MessageLiteOrBuilder
,io.deephaven.shadow.core.com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Token
,Token.Builder
public interface TokenOrBuilder
extends io.deephaven.shadow.core.com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionio.deephaven.shadow.core.com.google.protobuf.ByteString
The ip address of the authentication server that produced the token.The service for which the token is intended.io.deephaven.shadow.core.com.google.protobuf.ByteString
The service for which the token is intended.long
The actual token payload.The credentials for the token.The credentials for the token.boolean
The credentials for the token.Methods inherited from interface io.deephaven.shadow.core.com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface io.deephaven.shadow.core.com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTokenId
long getTokenId()The actual token payload.
fixed64 token_id = 1;
- Returns:
- The tokenId.
-
getService
String getService()The service for which the token is intended.
string service = 2;
- Returns:
- The service.
-
getServiceBytes
io.deephaven.shadow.core.com.google.protobuf.ByteString getServiceBytes()The service for which the token is intended.
string service = 2;
- Returns:
- The bytes for service.
-
hasUserContext
boolean hasUserContext()The credentials for the token.
.io.deephaven.proto.auth.UserContext user_context = 3;
- Returns:
- Whether the userContext field is set.
-
getUserContext
UserContext getUserContext()The credentials for the token.
.io.deephaven.proto.auth.UserContext user_context = 3;
- Returns:
- The userContext.
-
getUserContextOrBuilder
UserContextOrBuilder getUserContextOrBuilder()The credentials for the token.
.io.deephaven.proto.auth.UserContext user_context = 3;
-
getIpAddress
io.deephaven.shadow.core.com.google.protobuf.ByteString getIpAddress()The ip address of the authentication server that produced the token.
bytes ip_address = 4;
- Returns:
- The ipAddress.
-