> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PartyXblManager::CompleteGetTokenAndSignatureRequest

> PartyXblManager::CompleteGetTokenAndSignatureRequest in PartyXboxLive.h supplies the XBOX Live token and signature back to the PlayFab Party helper library.

Completes a GetTokenAndSignature operation.

## Syntax

```cpp theme={null}
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](/services/playfab/multiplayer/networking/reference/typedefs)

The title succeeded the token and signature request.

**`token`**   [PartyString](/services/playfab/multiplayer/networking/reference/typedefs)\
*optional*

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

**`signature`**   [PartyString](/services/playfab/multiplayer/networking/reference/typedefs)\
*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()](/services/playfab/multiplayer/networking/xblreference/classes/PartyXblManager/methods/partyxblmanager_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](/services/playfab/multiplayer/networking/xblreference/structs/partyxbltokenandsignaturerequestedstatechange).

## Requirements

**Header:** PartyXboxLive.h

## See also

[PartyXblManager](/services/playfab/multiplayer/networking/xblreference/classes/PartyXblManager/partyxblmanager)\
[PartyXblTokenAndSignatureRequestedStateChange](/services/playfab/multiplayer/networking/xblreference/structs/partyxbltokenandsignaturerequestedstatechange)


## Related topics

- [PartyXblTokenAndSignatureRequestedStateChange](/services/playfab/multiplayer/networking/xblreference/structs/partyxbltokenandsignaturerequestedstatechange.md)
- [PartyXblStateChangeType](/services/playfab/multiplayer/networking/xblreference/enums/partyxblstatechangetype.md)
- [PartyXblLocalChatUserDestroyedReason](/services/playfab/multiplayer/networking/xblreference/enums/partyxbllocalchatuserdestroyedreason.md)
- [XBOX Live helper library for PlayFab Party](/services/playfab/multiplayer/networking/party-xbox-live-guide.md)
- [PlayFab integration for XBOX services titles](/services/xbox-services/playfab-integration.md)
