Ανάγνωση στα Αγγλικά

Κοινή χρήση μέσω


AuthenticationSchemes Enum

Definition

Specifies protocols for authentication.

This enumeration supports a bitwise combination of its member values.

C#
[System.Flags]
public enum AuthenticationSchemes
Inheritance
AuthenticationSchemes
Attributes

Fields

Name Value Description
None 0

No authentication is enabled. This should only be used when HttpSysOptions.Authentication.AllowAnonymous is enabled (see AllowAnonymous).

Basic 1

Specifies basic authentication.

NTLM 4

Specifies NTLM authentication.

Negotiate 8

Negotiates with the client to determine the authentication scheme. If both client and server support Kerberos, it is used; otherwise, NTLM is used.

Kerberos 16

Specifies Kerberos authentication.

Applies to

Προϊόν Εκδόσεις
ASP.NET Core 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0