次の方法で共有


IdentityServiceCollectionExtensions.ConfigureApplicationCookie メソッド

定義

アプリケーション Cookie を構成します。

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するアクション。

戻り値

サービス。

適用対象