ManagedIdentityTokenSource(String, ManagedIdentityOptions) Constructor
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.
Initializes a new instance of the ManagedIdentityTokenSource class.
public ManagedIdentityTokenSource (string resource, Microsoft.Azure.WebJobs.Extensions.DurableTask.ManagedIdentityOptions options = default);
new Microsoft.Azure.WebJobs.Extensions.DurableTask.ManagedIdentityTokenSource : string * Microsoft.Azure.WebJobs.Extensions.DurableTask.ManagedIdentityOptions -> Microsoft.Azure.WebJobs.Extensions.DurableTask.ManagedIdentityTokenSource
Public Sub New (resource As String, Optional options As ManagedIdentityOptions = Nothing)
Parameters
- resource
- String
The Azure Active Directory resource identifier of the web API being invoked.
For example, https://management.core.windows.net/.default
or https://graph.microsoft.com/.default
.
- options
- ManagedIdentityOptions
Optional Azure credential options to use when authenticating.