IdentityCookieAuthenticationBuilderExtensions.AddApplicationCookie メソッド

定義

ID アプリケーション Cookie を追加します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Options::OptionsBuilder<Microsoft::AspNetCore::Authentication::Cookies::CookieAuthenticationOptions ^> ^ AddApplicationCookie(Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ builder);
public static Microsoft.Extensions.Options.OptionsBuilder<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions> AddApplicationCookie (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder);
static member AddApplicationCookie : Microsoft.AspNetCore.Authentication.AuthenticationBuilder -> Microsoft.Extensions.Options.OptionsBuilder<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>
<Extension()>
Public Function AddApplicationCookie (builder As AuthenticationBuilder) As OptionsBuilder(Of CookieAuthenticationOptions)

パラメーター

builder
AuthenticationBuilder

現在の AuthenticationBuilder インスタンス。

戻り値

OptionsBuilder<TOptions> Cookie 認証の構成に使用できる 。

適用対象