Microsoft.Identity.Client.AuthenticationParameters.CreateFromResourceUrlAsync C# (CSharp) Method

CreateFromResourceUrlAsync() public static method

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 CreateFromResourceUrlAsync ( Uri resourceUrl ) : Task
resourceUrl System.Uri Address of the resource
return Task
        public static async Task<AuthenticationParameters> CreateFromResourceUrlAsync(Uri resourceUrl)
        {
            return await CreateFromResourceUrlCommonAsync(resourceUrl).ConfigureAwait(false);
        }