#[repr(C)]pub struct _tagEOS_Auth_PinGrantInfo {
pub ApiVersion: i32,
pub UserCode: *const c_char,
pub VerificationURI: *const c_char,
pub ExpiresIn: i32,
pub VerificationURIComplete: *const c_char,
}Expand description
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.
Fields§
§ApiVersion: i32API Version: Set this to EOS_AUTH_PINGRANTINFO_API_LATEST.
UserCode: *const c_charCode the user must input on an external device to activate the login.
VerificationURI: *const c_charThe end-user verification URI. Users can be asked to manually type this into their browser.
ExpiresIn: i32Time the user has, in seconds, to complete the process or else timeout.
VerificationURIComplete: *const c_charA verification URI that includes the user code. Useful for non-textual transmission.
Trait Implementations§
Source§impl Clone for _tagEOS_Auth_PinGrantInfo
impl Clone for _tagEOS_Auth_PinGrantInfo
Source§fn clone(&self) -> _tagEOS_Auth_PinGrantInfo
fn clone(&self) -> _tagEOS_Auth_PinGrantInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more