اقرأ باللغة الإنجليزية

مشاركة عبر


IdentityConstants Class

Definition

Represents all the options you can use to configure the cookies middleware used by the identity system.

C#
public class IdentityConstants
Inheritance
IdentityConstants

Constructors

Fields

ApplicationScheme

The scheme used to identify application authentication cookies.

BearerScheme

The scheme used to identify bearer authentication tokens.

ExternalScheme

The scheme used to identify external authentication cookies.

TwoFactorRememberMeScheme

The scheme used to identify Two Factor authentication cookies for saving the Remember Me state.

TwoFactorUserIdScheme

The scheme used to identify Two Factor authentication cookies for round tripping user identities.

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