Share via


HttpConnectionOptions.AccessTokenProvider Property

Definition

Gets or sets an access token provider that will be called to return a token for each HTTP request.

public:
 property Func<System::Threading::Tasks::Task<System::String ^> ^> ^ AccessTokenProvider { Func<System::Threading::Tasks::Task<System::String ^> ^> ^ get(); void set(Func<System::Threading::Tasks::Task<System::String ^> ^> ^ value); };
public Func<System.Threading.Tasks.Task<string>> AccessTokenProvider { get; set; }
public Func<System.Threading.Tasks.Task<string?>>? AccessTokenProvider { get; set; }
member this.AccessTokenProvider : Func<System.Threading.Tasks.Task<string>> with get, set
Public Property AccessTokenProvider As Func(Of Task(Of String))

Property Value

Applies to