Partilhar via


IdentityCookieAuthenticationBuilderExtensions.AddIdentityCookies Método

Definição

Sobrecargas

AddIdentityCookies(AuthenticationBuilder)

Adiciona a autenticação de cookie.

AddIdentityCookies(AuthenticationBuilder, Action<IdentityCookiesBuilder>)

Adiciona a autenticação de cookie necessária para o gerenciador de entrada.

AddIdentityCookies(AuthenticationBuilder)

Origem:
IdentityCookiesBuilderExtensions.cs
Origem:
IdentityCookiesBuilderExtensions.cs
Origem:
IdentityCookiesBuilderExtensions.cs

Adiciona a autenticação de cookie.

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

A instância AuthenticationBuilder atual.

Retornos

O IdentityCookiesBuilder que pode ser usado para configurar os cookies de identidade.

Aplica-se a

AddIdentityCookies(AuthenticationBuilder, Action<IdentityCookiesBuilder>)

Origem:
IdentityCookiesBuilderExtensions.cs
Origem:
IdentityCookiesBuilderExtensions.cs
Origem:
IdentityCookiesBuilderExtensions.cs

Adiciona a autenticação de cookie necessária para o gerenciador de entrada.

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

A instância AuthenticationBuilder atual.

configureCookies
Action<IdentityCookiesBuilder>

Ação usada para configurar os cookies.

Retornos

O IdentityCookiesBuilder que pode ser usado para configurar os cookies de identidade.

Aplica-se a