User.GetTokenAndSignatureAsync Method (String, String, String, Byte[])

Retrieves an authorization token and digital signature for an HTTP request by this user, with a body expressed as an array of bytes.

Syntax

public:
IAsyncOperation<GetTokenAndSignatureResult^ >^ GetTokenAndSignatureAsync(
         String^ httpMethod,
         String^ url,
         String^ headers,
         Array<unsigned char>^ body
)  

Parameters

httpMethod
Type: String 

 The HTTP method (GET, PUT, POST, etc.) for this request.

url
Type: String 

 The URL for which to retrieve the authorization token and digital signature.

headers
Type: String 

 The headers to be included in the HTTP request.

body
Type: unsigned char 

 The body of the request, expressed as an array of bytes.

Return value

Type: IAsyncOperation<GetTokenAndSignatureResult^ > 

An interface for tracking the progress of the asynchronous call. The result is an object indicating the token and the digital signature of the entire request, including the token.

Remarks

Note

This is a cross-OS call. For more information, see Cross-OS Calls.

Requirements

Namespace: Windows.Xbox.System

Metadata: windows.winmd

See also

Reference

User Class

User Members

Windows.Xbox.System Namespace