TilesExtensions.GenerateTokenAsync(ITiles, String, String, GenerateTokenRequest, CancellationToken) 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.
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>