Condividi tramite


IdentityServiceCollectionExtensions.ConfigureApplicationCookie Metodo

Definizione

Configura il cookie dell'applicazione.

public static Microsoft.Extensions.DependencyInjection.IServiceCollection ConfigureApplicationCookie (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions> configure);
static member ConfigureApplicationCookie : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function ConfigureApplicationCookie (services As IServiceCollection, configure As Action(Of CookieAuthenticationOptions)) As IServiceCollection

Parametri

services
IServiceCollection

I servizi disponibili nell'applicazione.

Restituisce

Servizi.

Si applica a