IdentityServiceCollectionExtensions.ConfigureApplicationCookie 메서드

정의

애플리케이션 쿠키를 구성합니다.

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

매개 변수

services
IServiceCollection

애플리케이션에서 사용할 수 있는 서비스입니다.

configure
Action<CookieAuthenticationOptions>

를 구성하는 작업입니다 CookieAuthenticationOptions.

반환

서비스입니다.

적용 대상