HttpConnectionOptions.AccessTokenProvider Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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))