Skip to main content

EOS_Auth_IdToken

Type Alias EOS_Auth_IdToken 

Source
pub type EOS_Auth_IdToken = _tagEOS_Auth_IdToken;
Expand description

A structure that contains an ID token. These structures are created by EOS_Auth_CopyIdToken and must be passed to EOS_Auth_IdToken_Release when finished.

Aliased Type§

#[repr(C)]
pub struct EOS_Auth_IdToken { pub ApiVersion: i32, pub AccountId: *mut EOS_EpicAccountIdDetails, pub JsonWebToken: *const u8, }

Fields§

§ApiVersion: i32

API Version: Set this to EOS_AUTH_IDTOKEN_API_LATEST.

§AccountId: *mut EOS_EpicAccountIdDetails

The Epic Account ID described by the ID token. Use EOS_EpicAccountId_FromString to populate this field when validating a received ID token.

§JsonWebToken: *const u8

The ID token as a Json Web Token (JWT) string.