Share via


DashboardsOperationsExtensions.GenerateTokenAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.PowerBI.Api.Models.EmbedToken> GenerateTokenAsync (this Microsoft.PowerBI.Api.IDashboardsOperations operations, Guid groupId, Guid dashboardId, Microsoft.PowerBI.Api.Models.GenerateTokenRequest requestParameters, System.Threading.CancellationToken cancellationToken = default);
static member GenerateTokenAsync : Microsoft.PowerBI.Api.IDashboardsOperations * Guid * Guid * Microsoft.PowerBI.Api.Models.GenerateTokenRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.PowerBI.Api.Models.EmbedToken>
<Extension()>
Public Function GenerateTokenAsync (operations As IDashboardsOperations, groupId As Guid, dashboardId As Guid, requestParameters As GenerateTokenRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of EmbedToken)

Parameters

groupId
Guid
dashboardId
Guid
requestParameters
GenerateTokenRequest
cancellationToken
CancellationToken

Returns

Applies to