This data structure is part of the Auth Interface.
Remarks
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.
Properties
EOS_Auth_PinGrantInfo
Property | Value |
---|---|
int32_t ApiVersion | API Version: Set this to EOS_AUTH_PINGRANTINFO_API_LATEST. |
const char* UserCode | Code the user must input on an external device to activate the login |
const char* VerificationURI | The end-user verification URI. Users can be asked to manually type this into their browser. |
int32_t ExpiresIn | Time the user has, in seconds, to complete the process or else timeout |
const char* VerificationURIComplete | A verification URI that includes the user code. Useful for non-textual transmission. |