EOS_Auth_PinGrantInfo

EOS API reference page for EOS_Auth_PinGrantInfo

1 min to read

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

PropertyValue
int32_t ApiVersionAPI Version: Set this to EOS_AUTH_PINGRANTINFO_API_LATEST.
const char* UserCodeCode the user must input on an external device to activate the login
const char* VerificationURIThe end-user verification URI. Users can be asked to manually type this into their browser.
int32_t ExpiresInTime the user has, in seconds, to complete the process or else timeout
const char* VerificationURICompleteA verification URI that includes the user code. Useful for non-textual transmission.