Package com.heroiclabs.nakama.api
Interface SessionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Session
,Session.Builder
public interface SessionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
True if the corresponding account was just created, false otherwise.getToken()
Authentication credentials.com.google.protobuf.ByteString
Authentication credentials.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCreated
boolean getCreated()True if the corresponding account was just created, false otherwise.
bool created = 1;
- Returns:
- The created.
-
getToken
String getToken()Authentication credentials.
string token = 2;
- Returns:
- The token.
-
getTokenBytes
com.google.protobuf.ByteString getTokenBytes()Authentication credentials.
string token = 2;
- Returns:
- The bytes for token.
-