AuthenticationParameters.CreateFromUnauthorizedResponse Method (HttpWebResponse)

 

Applies to: Version: 2.19.208020213, Platform: .NET Desktop.

Creates authentication parameters from the response received from the response received from the resource. This method expects the response to have unauthorized status and WWW-Authenticate header containing authentication parameters.

Namespace:   Microsoft.IdentityModel.Clients.ActiveDirectory
Assembly:  Microsoft.IdentityModel.Clients.ActiveDirectory (in Microsoft.IdentityModel.Clients.ActiveDirectory.dll)

Syntax

public static AuthenticationParameters CreateFromUnauthorizedResponse(
    HttpWebResponse response
)

Parameters

Return Value

Type: Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationParameters

AuthenticationParameters object containing authentication parameters

See Also

AuthenticationParameters Class
Microsoft.IdentityModel.Clients.ActiveDirectory Namespace

Return to top