Dashboards.GenerateTokenWithHttpMessagesAsync(String, GenerateTokenRequest, Dictionary<String,List<String>>, CancellationToken) Method

Definition

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.PowerBI.Api.V2.Models.EmbedToken>> GenerateTokenWithHttpMessagesAsync (string dashboardKey, Microsoft.PowerBI.Api.V2.Models.GenerateTokenRequest requestParameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GenerateTokenWithHttpMessagesAsync : string * Microsoft.PowerBI.Api.V2.Models.GenerateTokenRequest * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.PowerBI.Api.V2.Models.EmbedToken>>
override this.GenerateTokenWithHttpMessagesAsync : string * Microsoft.PowerBI.Api.V2.Models.GenerateTokenRequest * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.PowerBI.Api.V2.Models.EmbedToken>>

Parameters

dashboardKey
System.String
requestParameters
GenerateTokenRequest
customHeaders
System.Collections.Generic.Dictionary<System.String,System.Collections.Generic.List<System.String>>
cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<HttpOperationResponse<EmbedToken>>

Implements

Applies to