XboxLiveUser.GetTokenAndSignatureAsync Method

Definition

Overloads

GetTokenAndSignatureAsync(String, String, String)

Retrieves an authorization token and digital signature for an HTTP request by this user, with no request body.

GetTokenAndSignatureAsync(String, String, String, String)

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

GetTokenAndSignatureAsync(String, String, String)

Retrieves an authorization token and digital signature for an HTTP request by this user, with no request body.

[Windows.Foundation.Metadata.Overload("GetTokenAndSignatureAsync2")]
public Windows.Foundation.IAsyncOperation<Microsoft.Xbox.Services.System.GetTokenAndSignatureResult> GetTokenAndSignatureAsync (string httpMethod, string url, string headers);
abstract member GetTokenAndSignatureAsync : string * string * string -> Windows.Foundation.IAsyncOperation<Microsoft.Xbox.Services.System.GetTokenAndSignatureResult>
override this.GetTokenAndSignatureAsync : string * string * string -> Windows.Foundation.IAsyncOperation<Microsoft.Xbox.Services.System.GetTokenAndSignatureResult>
Public Function GetTokenAndSignatureAsync (httpMethod As String, url As String, headers As String) As IAsyncOperation(Of GetTokenAndSignatureResult)

Parameters

httpMethod
String

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

url
String

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

headers
String

The headers to be included in the HTTP request.

Returns

Windows.Foundation.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.

Implements

Microsoft.Xbox.Services.System.__IXboxLiveUserPublicNonVirtuals.GetTokenAndSignatureAsync(System.String,System.String,System.String)
Attributes
Windows.Foundation.Metadata.OverloadAttribute

Applies to

GetTokenAndSignatureAsync(String, String, String, String)

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

[Windows.Foundation.Metadata.Overload("GetTokenAndSignatureAsync1")]
public Windows.Foundation.IAsyncOperation<Microsoft.Xbox.Services.System.GetTokenAndSignatureResult> GetTokenAndSignatureAsync (string httpMethod, string url, string headers, string body);
abstract member GetTokenAndSignatureAsync : string * string * string * string -> Windows.Foundation.IAsyncOperation<Microsoft.Xbox.Services.System.GetTokenAndSignatureResult>
override this.GetTokenAndSignatureAsync : string * string * string * string -> Windows.Foundation.IAsyncOperation<Microsoft.Xbox.Services.System.GetTokenAndSignatureResult>
Public Function GetTokenAndSignatureAsync (httpMethod As String, url As String, headers As String, body As String) As IAsyncOperation(Of GetTokenAndSignatureResult)

Parameters

httpMethod
String

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

url
String

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

headers
String

The headers to be included in the HTTP request.

body
String

The body of the request, expressed as a string.

Returns

Windows.Foundation.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.

Implements

Microsoft.Xbox.Services.System.__IXboxLiveUserPublicNonVirtuals.GetTokenAndSignatureAsync(System.String,System.String,System.String,System.String)
Attributes
Windows.Foundation.Metadata.OverloadAttribute

Applies to