Package io.deephaven.proto.auth
Interface AuthenticationResultOrBuilder
- All Superinterfaces:
io.deephaven.shadow.core.com.google.protobuf.MessageLiteOrBuilder
,io.deephaven.shadow.core.com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AuthenticationResult
,AuthenticationResult.Builder
public interface AuthenticationResultOrBuilder
extends io.deephaven.shadow.core.com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
true if authentication was successful.io.deephaven.shadow.core.com.google.protobuf.ByteString
the cookie that the client should remember and refresh before its deadline to remain authenticated.long
the absolute time in milliseconds from the epoch when the cookie will expire.the user context actually authenticated; if there was one in the request should match it.the user context actually authenticated; if there was one in the request should match it.boolean
the user context actually authenticated; if there was one in the request should match it.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
-
getAuthenticated
boolean getAuthenticated()true if authentication was successful.
bool authenticated = 1;
- Returns:
- The authenticated.
-
getCookie
io.deephaven.shadow.core.com.google.protobuf.ByteString getCookie()the cookie that the client should remember and refresh before its deadline to remain authenticated.
bytes cookie = 2;
- Returns:
- The cookie.
-
getCookieDeadlineTimeMillis
long getCookieDeadlineTimeMillis()the absolute time in milliseconds from the epoch when the cookie will expire.
sfixed64 cookie_deadline_time_millis = 3;
- Returns:
- The cookieDeadlineTimeMillis.
-
hasUserContext
boolean hasUserContext()the user context actually authenticated; if there was one in the request should match it.
.io.deephaven.proto.auth.UserContext userContext = 4;
- Returns:
- Whether the userContext field is set.
-
getUserContext
UserContext getUserContext()the user context actually authenticated; if there was one in the request should match it.
.io.deephaven.proto.auth.UserContext userContext = 4;
- Returns:
- The userContext.
-
getUserContextOrBuilder
UserContextOrBuilder getUserContextOrBuilder()the user context actually authenticated; if there was one in the request should match it.
.io.deephaven.proto.auth.UserContext userContext = 4;
-