Package host.anzo.eossdk.eos.sdk.auth
Class EOS_Auth_PinGrantInfo
java.lang.Object
com.sun.jna.Structure
host.anzo.eossdk.eos.sdk.auth.EOS_Auth_PinGrantInfo
- Direct Known Subclasses:
EOS_Auth_PinGrantInfo.ByReference,EOS_Auth_PinGrantInfo.ByValue
@FieldOrder({"ApiVersion","UserCode","VerificationURI","ExpiresIn","VerificationURIComplete"})
public class EOS_Auth_PinGrantInfo
extends com.sun.jna.Structure
Intermediate data needed to complete the EOS_LCT_DeviceCode and EOS_LCT_ExternalAuth login flows, returned by EOS_Auth_LoginCallbackInfo.
The data inside should be exposed to the user for entry on a secondary device.
All data must be copied out before the completion of this callback.
- 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_AUTH_PINGRANTINFO_API_LATEST.static intThe most recent version of the EOS_Auth_PinGrantInfo struct.intTime the user has, in seconds, to complete the process or else timeoutCode the user must input on an external device to activate the loginThe end-user verification URI.A verification URI that includes the user code.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_AUTH_PINGRANTINFO_API_LATEST
public static int EOS_AUTH_PINGRANTINFO_API_LATESTThe most recent version of the EOS_Auth_PinGrantInfo struct. -
ApiVersion
public int ApiVersionAPI Version: Set this to EOS_AUTH_PINGRANTINFO_API_LATEST. -
UserCode
Code the user must input on an external device to activate the login -
VerificationURI
The end-user verification URI. Users can be asked to manually type this into their browser. -
ExpiresIn
public int ExpiresInTime the user has, in seconds, to complete the process or else timeout -
VerificationURIComplete
A verification URI that includes the user code. Useful for non-textual transmission.
-
-
Constructor Details
-
EOS_Auth_PinGrantInfo
public EOS_Auth_PinGrantInfo() -
EOS_Auth_PinGrantInfo
public EOS_Auth_PinGrantInfo(com.sun.jna.Pointer peer)
-