Freigeben über


MsalAuth.GetAccessTokenAsync(String, IList<String>, Boolean) Method

Definition

public System.Threading.Tasks.Task<string> GetAccessTokenAsync(string resourceUrl, System.Collections.Generic.IList<string> scopes, bool forceRefresh = false);
abstract member GetAccessTokenAsync : string * System.Collections.Generic.IList<string> * bool -> System.Threading.Tasks.Task<string>
override this.GetAccessTokenAsync : string * System.Collections.Generic.IList<string> * bool -> System.Threading.Tasks.Task<string>
Public Function GetAccessTokenAsync (resourceUrl As String, scopes As IList(Of String), Optional forceRefresh As Boolean = false) As Task(Of String)

Parameters

resourceUrl
String
scopes
IList<String>
forceRefresh
Boolean

Returns

Implements

Applies to