다음을 통해 공유


IdentityCookieAuthenticationBuilderExtensions.AddExternalCookie 메서드

정의

외부 로그인에 사용되는 ID 쿠키를 추가합니다.

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

매개 변수

builder
AuthenticationBuilder

현재 AuthenticationBuilder 인스턴스입니다.

반환

OptionsBuilder<TOptions> 쿠키 인증을 구성하는 데 사용할 수 있는 입니다.

적용 대상