Package host.anzo.eossdk.eos.sdk.connect
Class EOS_Connect_ExternalAccountInfo
java.lang.Object
com.sun.jna.Structure
host.anzo.eossdk.eos.sdk.connect.EOS_Connect_ExternalAccountInfo
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
EOS_Connect_ExternalAccountInfo.ByReference,EOS_Connect_ExternalAccountInfo.ByValue
@FieldOrder({"ApiVersion","ProductUserId","DisplayName","AccountId","AccountIdType","LastLoginTime"})
public class EOS_Connect_ExternalAccountInfo
extends com.sun.jna.Structure
implements AutoCloseable
Contains information about an external account linked with a Product User ID.
- Since:
- 8/5/2023
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField -
Field Summary
FieldsModifier and TypeFieldDescriptionExternal account ID.The identity provider that owns the external account.intAPI Version: Set this toEOS_CONNECT_COPYPRODUCTUSEREXTERNALACCOUNTBYACCOUNTID_API_LATEST.Display name, can be null if not set.static intThe most recent version of the EOS_Connect_CopyProductUserExternalAccountByAccountId API.longThe POSIX timestamp for the time the user last logged in, or EOS_CONNECT_TIME_UNDEFINED.The Product User ID of the target user.Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sun.jna.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, writeField
-
Field Details
-
EOS_CONNECT_COPYPRODUCTUSEREXTERNALACCOUNTBYACCOUNTID_API_LATEST
public static int EOS_CONNECT_COPYPRODUCTUSEREXTERNALACCOUNTBYACCOUNTID_API_LATESTThe most recent version of the EOS_Connect_CopyProductUserExternalAccountByAccountId API. -
ApiVersion
public int ApiVersionAPI Version: Set this toEOS_CONNECT_COPYPRODUCTUSEREXTERNALACCOUNTBYACCOUNTID_API_LATEST. -
ProductUserId
The Product User ID of the target user. -
DisplayName
Display name, can be null if not set. -
AccountId
External account ID.May be set to an empty string if the AccountIdType of another user belongs to different account system than the local user's authenticated account. The availability of this field is dependent on account system specifics.
-
AccountIdType
The identity provider that owns the external account. -
LastLoginTime
public long LastLoginTimeThe POSIX timestamp for the time the user last logged in, or EOS_CONNECT_TIME_UNDEFINED.
-
-
Constructor Details
-
EOS_Connect_ExternalAccountInfo
public EOS_Connect_ExternalAccountInfo() -
EOS_Connect_ExternalAccountInfo
public EOS_Connect_ExternalAccountInfo(com.sun.jna.Pointer peer)
-
-
Method Details
-
release
public void release()Release the memory associated with an external account info. This must be called on data retrieved from EOS_Connect_CopyProductUserExternalAccountByIndex, EOS_Connect_CopyProductUserExternalAccountByAccountType, EOS_Connect_CopyProductUserExternalAccountByAccountId or EOS_Connect_CopyProductUserInfo.- See Also:
-
EOS_Connect_Interface.copyProductUserExternalAccountByIndex(EOS_Connect_CopyProductUserExternalAccountByIndexOptions)EOS_Connect_Interface.copyProductUserExternalAccountByAccountType(EOS_Connect_CopyProductUserExternalAccountByAccountTypeOptions)EOS_Connect_Interface.copyProductUserExternalAccountByAccountId(EOS_Connect_CopyProductUserExternalAccountByAccountIdOptions)EOS_Connect_Interface.copyProductUserInfo(EOS_Connect_CopyProductUserInfoOptions)
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-