Package host.anzo.eossdk.eos.sdk.connect
Class EOS_Connect_IdToken
java.lang.Object
com.sun.jna.Structure
host.anzo.eossdk.eos.sdk.connect.EOS_Connect_IdToken
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
EOS_Connect_IdToken.ByReference,EOS_Connect_IdToken.ByValue
@FieldOrder({"ApiVersion","ProductUserId","JsonWebToken"})
public class EOS_Connect_IdToken
extends com.sun.jna.Structure
implements AutoCloseable
A structure that contains an ID token.
These structures are created by
EOS_Connect_Interface.copyIdToken(EOS_Connect_CopyIdTokenOptions) and must be passed to release()- 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 TypeFieldDescriptionintAPI Version: Set this to EOS_CONNECT_IDTOKEN_API_LATEST.static intThe most recent version of the EOS_Connect_IdToken struct.The ID token as a Json Web Token (JWT) string.The Product User ID described by the ID token.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_IDTOKEN_API_LATEST
public static int EOS_CONNECT_IDTOKEN_API_LATESTThe most recent version of the EOS_Connect_IdToken struct. -
ApiVersion
public int ApiVersionAPI Version: Set this to EOS_CONNECT_IDTOKEN_API_LATEST. -
ProductUserId
The Product User ID described by the ID token. Use EOS_ProductUserId_FromString to populate this field when validating a received ID token. -
JsonWebToken
The ID token as a Json Web Token (JWT) string.
-
-
Constructor Details
-
EOS_Connect_IdToken
public EOS_Connect_IdToken() -
EOS_Connect_IdToken
public EOS_Connect_IdToken(com.sun.jna.Pointer peer)
-
-
Method Details
-
release
public void release()Release the memory associated with an EOS_Connect_IdToken structure. This must be called on data retrieved from EOS_Connect_CopyIdToken. -
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-