@Structure.FieldOrder(value={"ApiVersion","App","ClientId","AccountId","AccessToken","ExpiresIn","ExpiresAt","AuthType","RefreshToken","RefreshExpiresIn","RefreshExpiresAt"})
public class EOS_Auth_Token
extends com.sun.jna.Structure
implements java.lang.AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static class |
EOS_Auth_Token.ByReference |
static class |
EOS_Auth_Token.ByValue |
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
AccessToken
Access token for the current user login session
|
EOS_EpicAccountId |
AccountId
The Epic Account ID associated with this auth token
|
int |
ApiVersion
API Version: Set this to EOS_ANTICHEATCOMMON_LOGPLAYERTICK_API_LATEST.
|
EOS_EAuthTokenType |
AuthType
Type of auth token
|
java.lang.String |
ClientId
Client ID that requested this token
|
static int |
EOS_AUTH_TOKEN_API_LATEST
The most recent version of the EOS_Auth_Token struct.
|
java.lang.String |
ExpiresAt
Absolute time in UTC before the access token expires, in ISO 8601 format
|
double |
ExpiresIn
Time before the access token expires, in seconds, relative to the call to EOS_Auth_CopyUserAuthToken
|
java.lang.String |
RefreshExpiresAt
Absolute time in UTC before the refresh token expires, in ISO 8601 format
|
double |
RefreshExpiresIn
Time before the access token expires, in seconds, relative to the call to EOS_Auth_CopyUserAuthToken
|
java.lang.String |
RefreshToken
Refresh token.
|
| Constructor and Description |
|---|
EOS_Auth_Token() |
EOS_Auth_Token(com.sun.jna.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
release()
Release the memory associated with an EOS_Auth_Token structure.
|
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_AUTH_TOKEN_API_LATEST
public int ApiVersion
public java.lang.String ClientId
public EOS_EpicAccountId AccountId
public java.lang.String AccessToken
public double ExpiresIn
public java.lang.String ExpiresAt
public EOS_EAuthTokenType AuthType
public java.lang.String RefreshToken
public double RefreshExpiresIn
public java.lang.String RefreshExpiresAt
public EOS_Auth_Token()
public EOS_Auth_Token(com.sun.jna.Pointer peer)
public void release()
public void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exception