Share via


ManagedIdentityTokenSource.GetTokenAsync Method

Definition

Gets a token for a resource.

public System.Threading.Tasks.Task<string> GetTokenAsync ();
abstract member GetTokenAsync : unit -> System.Threading.Tasks.Task<string>
override this.GetTokenAsync : unit -> System.Threading.Tasks.Task<string>
Public Function GetTokenAsync () As Task(Of String)

Returns

A Task<TResult> representing the result of the asynchronous operation.

Implements

Applies to