AuthenticationParameters.CreateFromResourceUrlAsync(Uri) AuthenticationParameters.CreateFromResourceUrlAsync(Uri) AuthenticationParameters.CreateFromResourceUrlAsync(Uri) Method

Definition

Creates authentication parameters from address of the resource. This method expects the resource server to return unauthorized response with WWW-Authenticate header containing authentication parameters.

public static System.Threading.Tasks.Task<Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationParameters> CreateFromResourceUrlAsync (Uri resourceUrl);
static member CreateFromResourceUrlAsync : Uri -> System.Threading.Tasks.Task<Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationParameters>
Public Shared Function CreateFromResourceUrlAsync (resourceUrl As Uri) As Task(Of AuthenticationParameters)
Parameters
resourceUrl
Uri Uri Uri

Address of the resource

Returns

AuthenticationParameters object containing authentication parameters

Applies to