Dela via


AuthenticationManager Class

Definition

Exposes the Http.Sys authentication configurations.

public ref class AuthenticationManager sealed
public sealed class AuthenticationManager
type AuthenticationManager = class
Public NotInheritable Class AuthenticationManager
Inheritance
AuthenticationManager

Properties

AllowAnonymous

Indicates if anonymous requests will be surfaced to the application or challenged by the server. The default value is true.

AuthenticationDisplayName

Sets the display name shown to users on login pages. The default is null.

AutomaticAuthentication

If true the server should set HttpContext.User. If false the server will only provide an identity when explicitly requested by the AuthenticationScheme. The default is true.

CaptureCredentials

If true, the server captures user credentials from the thread that starts the host and impersonates that user during Kerberos or Negotiate authentication. Kerberos or Negotiate authentication must be enabled. The default is false. This option maps to the native HTTP_AUTH_EX_FLAG_CAPTURE_CREDENTIAL flag. https://learn.microsoft.com/windows/win32/api/http/ns-http-http_server_authentication_info

EnableKerberosCredentialCaching

If true, the Kerberos authentication credentials are persisted per connection and re-used for subsequent anonymous requests on the same connection. Kerberos or Negotiate authentication must be enabled. The default is false. This option maps to the native HTTP_AUTH_EX_FLAG_ENABLE_KERBEROS_CREDENTIAL_CACHING flag. https://learn.microsoft.com/windows/win32/api/http/ns-http-http_server_authentication_info

Schemes

When attaching to an existing queue this setting must match the one used to create the queue.

Applies to