Skip to main content

XUserGetTokenAndSignatureData

Specifies the xtokens and signatures that we retrieve for web requests.

Syntax

Members

tokenSize
Type: size_t
The size in bytes of the buffer in the token property. signatureSize
Type: size_t
The size in bytes of the buffer in the signature property. token
Type: const char*
A buffer that contains the retrieved token. signature
Type: const char*
A buffer that contains the retrieved signature.

Remarks

To retrieve the result of a call to XUserGetTokenAndSignatureAsync, call the XUserGetTokenAndSignatureResult function. The XUserGetTokenAndSignatureAsync function asynchronously retrieves xtokens and signatures for web requests. The XUserGetTokenAndSignatureResult function uses a double pointer to an XUserGetTokenAndSignatureData structure as an argument. The following example demonstrates how to asynchronously retrieve the token and signature of a user.

Requirements

Header: XUser.h Supported platforms: Windows, XBOX One family consoles and XBOX Series consoles

See also

XUser XUserGetTokenAndSignatureAsync XUserGetTokenAndSignatureResult
Last modified on August 20, 2026