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

مشاركة عبر


IdentityCookieAuthenticationBuilderExtensions Class

Definition

Helper functions for configuring identity services.

C#
public static class IdentityCookieAuthenticationBuilderExtensions
Inheritance
IdentityCookieAuthenticationBuilderExtensions

Methods

AddApplicationCookie(AuthenticationBuilder)

Adds the identity application cookie.

AddExternalCookie(AuthenticationBuilder)

Adds the identity cookie used for external logins.

AddIdentityCookies(AuthenticationBuilder, Action<IdentityCookiesBuilder>)

Adds the cookie authentication needed for sign in manager.

AddIdentityCookies(AuthenticationBuilder)

Adds cookie authentication.

AddTwoFactorRememberMeCookie(AuthenticationBuilder)

Adds the identity cookie used for two factor remember me.

AddTwoFactorUserIdCookie(AuthenticationBuilder)

Adds the identity cookie used for two factor logins.

Applies to

منتج الإصدارات
ASP.NET Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0