다음을 통해 공유


IdentityCookieAuthenticationBuilderExtensions.AddIdentityCookies 메서드

정의

오버로드

AddIdentityCookies(AuthenticationBuilder)

쿠키 인증을 추가합니다.

AddIdentityCookies(AuthenticationBuilder, Action<IdentityCookiesBuilder>)

로그인 관리자에 필요한 쿠키 인증을 추가합니다.

AddIdentityCookies(AuthenticationBuilder)

Source:
IdentityCookiesBuilderExtensions.cs
Source:
IdentityCookiesBuilderExtensions.cs
Source:
IdentityCookiesBuilderExtensions.cs

쿠키 인증을 추가합니다.

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

매개 변수

builder
AuthenticationBuilder

현재 AuthenticationBuilder 인스턴스입니다.

반환

IdentityCookiesBuilder ID 쿠키를 구성하는 데 사용할 수 있는 입니다.

적용 대상

AddIdentityCookies(AuthenticationBuilder, Action<IdentityCookiesBuilder>)

Source:
IdentityCookiesBuilderExtensions.cs
Source:
IdentityCookiesBuilderExtensions.cs
Source:
IdentityCookiesBuilderExtensions.cs

로그인 관리자에 필요한 쿠키 인증을 추가합니다.

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

매개 변수

builder
AuthenticationBuilder

현재 AuthenticationBuilder 인스턴스입니다.

configureCookies
Action<IdentityCookiesBuilder>

쿠키를 구성하는 데 사용되는 작업입니다.

반환

IdentityCookiesBuilder ID 쿠키를 구성하는 데 사용할 수 있는 입니다.

적용 대상