XboxLiveUser.GetTokenAndSignatureAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
- Attributes
-
Windows.Foundation.Metadata.OverloadAttribute