Microsoft.Identity.Client.AuthenticationParameters.CreateFromResourceUrlAsync C# (CSharp) Méthode

CreateFromResourceUrlAsync() public static méthode

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
Résultat Task
        public static async Task<AuthenticationParameters> CreateFromResourceUrlAsync(Uri resourceUrl)
        {
            return await CreateFromResourceUrlCommonAsync(resourceUrl).ConfigureAwait(false);
        }