Compartir a través de


IdentityCookieAuthenticationBuilderExtensions.AddIdentityCookies Método

Definición

Sobrecargas

AddIdentityCookies(AuthenticationBuilder)

Agrega autenticación de cookies.

AddIdentityCookies(AuthenticationBuilder, Action<IdentityCookiesBuilder>)

Agrega la autenticación de cookies necesaria para el administrador de inicio de sesión.

AddIdentityCookies(AuthenticationBuilder)

Source:
IdentityCookiesBuilderExtensions.cs
Source:
IdentityCookiesBuilderExtensions.cs
Source:
IdentityCookiesBuilderExtensions.cs

Agrega autenticación de cookies.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Identity::IdentityCookiesBuilder ^ AddIdentityCookies(Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ builder);
public static Microsoft.AspNetCore.Identity.IdentityCookiesBuilder AddIdentityCookies (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder);
static member AddIdentityCookies : Microsoft.AspNetCore.Authentication.AuthenticationBuilder -> Microsoft.AspNetCore.Identity.IdentityCookiesBuilder
<Extension()>
Public Function AddIdentityCookies (builder As AuthenticationBuilder) As IdentityCookiesBuilder

Parámetros

builder
AuthenticationBuilder

Instancia de AuthenticationBuilder actual.

Devoluciones

que IdentityCookiesBuilder se puede usar para configurar las cookies de identidad.

Se aplica a

AddIdentityCookies(AuthenticationBuilder, Action<IdentityCookiesBuilder>)

Source:
IdentityCookiesBuilderExtensions.cs
Source:
IdentityCookiesBuilderExtensions.cs
Source:
IdentityCookiesBuilderExtensions.cs

Agrega la autenticación de cookies necesaria para el administrador de inicio de sesión.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Identity::IdentityCookiesBuilder ^ AddIdentityCookies(Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ builder, Action<Microsoft::AspNetCore::Identity::IdentityCookiesBuilder ^> ^ configureCookies);
public static Microsoft.AspNetCore.Identity.IdentityCookiesBuilder AddIdentityCookies (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, Action<Microsoft.AspNetCore.Identity.IdentityCookiesBuilder> configureCookies);
static member AddIdentityCookies : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * Action<Microsoft.AspNetCore.Identity.IdentityCookiesBuilder> -> Microsoft.AspNetCore.Identity.IdentityCookiesBuilder
<Extension()>
Public Function AddIdentityCookies (builder As AuthenticationBuilder, configureCookies As Action(Of IdentityCookiesBuilder)) As IdentityCookiesBuilder

Parámetros

builder
AuthenticationBuilder

Instancia de AuthenticationBuilder actual.

configureCookies
Action<IdentityCookiesBuilder>

Acción utilizada para configurar las cookies.

Devoluciones

que IdentityCookiesBuilder se puede usar para configurar las cookies de identidad.

Se aplica a