Share via


MicrosoftAppCredentials.GetTokenAsync(Boolean, String) Method

Definition

public System.Threading.Tasks.Task<string> GetTokenAsync (bool forceRefresh = false, string oauthScope = default);
member this.GetTokenAsync : bool * string -> System.Threading.Tasks.Task<string>
Public Function GetTokenAsync (Optional forceRefresh As Boolean = false, Optional oauthScope As String = Nothing) As Task(Of String)

Parameters

forceRefresh
Boolean
oauthScope
String

Returns

Applies to