PartyXblManager::CompleteGetTokenAndSignatureRequest

Completes a GetTokenAndSignature operation.

Syntax

PartyError CompleteGetTokenAndSignatureRequest(  
    uint32_t correlationId,  
    PartyBool succeeded,  
    PartyString token,  
    PartyString signature  
)  

Parameters

correlationId   uint32_t

The correlation id of the web request for which the token and signature were requested.

succeeded   PartyBool

The title succeeded the token and signature request.

token   PartyString
optional

The token for the request, if necessary, as a null terminated string.

signature   PartyString
optional

The signature for the request, if necessary, as a null terminated string.

Return value

PartyError

c_partyErrorSuccess if the call succeeded or an error code otherwise. The human-readable form of the error code can be retrieved via GetErrorMessage().

Remarks

The title can use the Xbox Authentication Library (XAL) to fulfill these request by calling the XalUserGetTokenAndSignatureSilentlyAsync function.
This should only be called in response to a PartyXblTokenAndSignatureRequestedStateChange.

Requirements

Header: PartyXboxLive.h

See also

PartyXblManager
PartyXblTokenAndSignatureRequestedStateChange