@Structure.FieldOrder(value={"ApiVersion","DisplayName","NsaIdToken"})
public class EOS_Connect_UserLoginInfo
extends com.sun.jna.Structure
| Modifier and Type | Class and Description |
|---|---|
static class |
EOS_Connect_UserLoginInfo.ByReference |
static class |
EOS_Connect_UserLoginInfo.ByValue |
| Modifier and Type | Field and Description |
|---|---|
int |
ApiVersion
API Version: Set this to
EOS_CONNECT_USERLOGININFO_API_LATEST. |
java.lang.String |
DisplayName
The user's display name on the identity provider systems as UTF-8 encoded null-terminated string.
|
static int |
EOS_CONNECT_USERLOGININFO_API_LATEST
The most recent version of the EOS_Connect_UserLoginInfo struct.
|
static int |
EOS_CONNECT_USERLOGININFO_DISPLAYNAME_MAX_LENGTH
Max length of a display name, not including the terminating null.
|
java.lang.String |
NsaIdToken
Nintendo Service Account ID Token (NSA ID).
|
| Constructor and Description |
|---|
EOS_Connect_UserLoginInfo() |
EOS_Connect_UserLoginInfo(com.sun.jna.Pointer peer) |
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeFieldpublic static int EOS_CONNECT_USERLOGININFO_DISPLAYNAME_MAX_LENGTH
public static int EOS_CONNECT_USERLOGININFO_API_LATEST
public int ApiVersion
EOS_CONNECT_USERLOGININFO_API_LATEST.public java.lang.String DisplayName
As the display name passed here is client-controlled and not part of user authentication tokens, it is only treated as non-authoritative informational data to be used by some of the feature services. For example displaying player names in Leaderboards rankings.
public java.lang.String NsaIdToken
This field is required to be set and only used when running on the Nintendo Switch device, and the user is being authenticated using any other credential type than EOS_ECT_NINTENDO_NSA_ID_TOKEN.
In order to use the Lobbies and Sessions interfaces, a valid NSA ID Token is required to be provided for the active local Nintendo Switch user. Otherwise, attempting to use either of the Lobbies or Sessions interfaces will return the EOS_Permission_OnlinePlayRestricted error result.