EOS_Auth_PinGrantInfo

EOS API reference page for EOS_Auth_PinGrantInfo

阅读时间2分钟

This data structure is part of the Auth Interface.

Remarks

Intermediate data for completing Epic account login, when neither the in-game overlay or a platform browser is used. The EOS_Auth_PinGrantInfo struct is returned as part of the EOS_Auth_LoginCallbackInfo and EOS_Auth_LinkAccountCallbackInfo structs. 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.