WebSiteManagementClientExtensions.GenerateGithubAccessTokenForAppserviceCLIAsyncAsync Method

Definition

Exchange code for GitHub access token for AppService CLI

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.AppserviceGithubToken> GenerateGithubAccessTokenForAppserviceCLIAsyncAsync (this Microsoft.Azure.Management.WebSites.IWebSiteManagementClient operations, string code, string state, System.Threading.CancellationToken cancellationToken = default);
static member GenerateGithubAccessTokenForAppserviceCLIAsyncAsync : Microsoft.Azure.Management.WebSites.IWebSiteManagementClient * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.AppserviceGithubToken>
<Extension()>
Public Function GenerateGithubAccessTokenForAppserviceCLIAsyncAsync (operations As IWebSiteManagementClient, code As String, state As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AppserviceGithubToken)

Parameters

operations
IWebSiteManagementClient

The operations group for this extension method.

code
System.String

Code string to exchange for Github Access token

state
System.String

State string used for verification.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<AppserviceGithubToken>

Remarks

Description for Exchange code for GitHub access token for AppService CLI

Applies to