EmbedTokenOperationsExtensions.GenerateTokenAsync Method

Definition

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

Parameters

requestParameters
GenerateTokenRequestV2
cancellationToken
CancellationToken

Returns

Applies to