TilesExtensions.GenerateTokenAsync(ITiles, String, String, GenerateTokenRequest, CancellationToken) Method

Definition

public static System.Threading.Tasks.Task<Microsoft.PowerBI.Api.V2.Models.EmbedToken> GenerateTokenAsync (this Microsoft.PowerBI.Api.V2.ITiles operations, string dashboardKey, string tileKey, Microsoft.PowerBI.Api.V2.Models.GenerateTokenRequest requestParameters, System.Threading.CancellationToken cancellationToken = null);
static member GenerateTokenAsync : Microsoft.PowerBI.Api.V2.ITiles * string * string * Microsoft.PowerBI.Api.V2.Models.GenerateTokenRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.PowerBI.Api.V2.Models.EmbedToken>

Parameters

operations
ITiles
dashboardKey
System.String
tileKey
System.String
requestParameters
GenerateTokenRequest
cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<EmbedToken>

Applies to