Condividi tramite


IdentityCookieAuthenticationBuilderExtensions.AddIdentityCookies Metodo

Definizione

Overload

AddIdentityCookies(AuthenticationBuilder)

Aggiunge l'autenticazione dei cookie.

AddIdentityCookies(AuthenticationBuilder, Action<IdentityCookiesBuilder>)

Aggiunge l'autenticazione cookie necessaria per la gestione dell'accesso.

AddIdentityCookies(AuthenticationBuilder)

Origine:
IdentityCookiesBuilderExtensions.cs
Origine:
IdentityCookiesBuilderExtensions.cs
Origine:
IdentityCookiesBuilderExtensions.cs

Aggiunge l'autenticazione dei 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

Parametri

builder
AuthenticationBuilder

L'istanza AuthenticationBuilder corrente.

Restituisce

Oggetto IdentityCookiesBuilder che può essere usato per configurare i cookie di identità.

Si applica a

AddIdentityCookies(AuthenticationBuilder, Action<IdentityCookiesBuilder>)

Origine:
IdentityCookiesBuilderExtensions.cs
Origine:
IdentityCookiesBuilderExtensions.cs
Origine:
IdentityCookiesBuilderExtensions.cs

Aggiunge l'autenticazione cookie necessaria per la gestione dell'accesso.

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

Parametri

builder
AuthenticationBuilder

L'istanza AuthenticationBuilder corrente.

configureCookies
Action<IdentityCookiesBuilder>

Azione usata per configurare i cookie.

Restituisce

Oggetto IdentityCookiesBuilder che può essere usato per configurare i cookie di identità.

Si applica a