pub type EOS_Connect_VerifyIdTokenCallbackInfo = _tagEOS_Connect_VerifyIdTokenCallbackInfo;Expand description
Output parameters for the EOS_Connect_VerifyIdToken Function.
Aliased Type§
#[repr(C)]pub struct EOS_Connect_VerifyIdTokenCallbackInfo {
pub ResultCode: i32,
pub ClientData: *mut c_void,
pub ProductUserId: *mut EOS_ProductUserIdDetails,
pub bIsAccountInfoPresent: i32,
pub AccountIdType: i32,
pub AccountId: *const i8,
pub Platform: *const i8,
pub DeviceType: *const i8,
pub ClientId: *const i8,
pub ProductId: *const i8,
pub SandboxId: *const i8,
pub DeploymentId: *const i8,
}Fields§
§ResultCode: i32The EOS_EResult code for the operation. EOS_Success indicates that the operation succeeded; other codes indicate errors.
ClientData: *mut c_voidContext that was passed into EOS_Connect_VerifyIdToken
ProductUserId: *mut EOS_ProductUserIdDetailsThe Product User ID associated with the ID token.
bIsAccountInfoPresent: i32Flag set to indicate whether account information is available. Applications must always first check this value to be set before attempting to read the AccountType, AccountId, Platform and DeviceType fields.
This flag is always false for users that authenticated using EOS Connect Device ID.
AccountIdType: i32The identity provider that the user authenticated with to EOS Connect.
If bIsAccountInfoPresent is set, this field describes the external account type.
AccountId: *const i8The external account ID of the authenticated user.
This value may be set to an empty string.
Platform: *const i8Platform that the user is connected from.
This value may be set to an empty string.
DeviceType: *const i8Identifies the device type that the user is connected from. Can be used to securely verify that the user is connected through a real Console device.
This value may be set to an empty string.
ClientId: *const i8Client ID of the authorized client.
ProductId: *const i8Product ID.
SandboxId: *const i8Sandbox ID.
DeploymentId: *const i8Deployment ID.