IdentityCookieAuthenticationBuilderExtensions.AddIdentityCookies Yöntem

Tanım

Aşırı Yüklemeler

AddIdentityCookies(AuthenticationBuilder)

Tanımlama bilgisi kimlik doğrulaması ekler.

AddIdentityCookies(AuthenticationBuilder, Action<IdentityCookiesBuilder>)

Oturum açma yöneticisi için gereken tanımlama bilgisi kimlik doğrulamasını ekler.

AddIdentityCookies(AuthenticationBuilder)

Tanımlama bilgisi kimlik doğrulaması ekler.

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

Parametreler

builder
AuthenticationBuilder

Geçerli AuthenticationBuilder örnek.

Döndürülenler

IdentityCookiesBuilder Kimlik tanımlama bilgilerini yapılandırmak için kullanılabilir.

Şunlara uygulanır

AddIdentityCookies(AuthenticationBuilder, Action<IdentityCookiesBuilder>)

Oturum açma yöneticisi için gereken tanımlama bilgisi kimlik doğrulamasını ekler.

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

Parametreler

builder
AuthenticationBuilder

Geçerli AuthenticationBuilder örnek.

configureCookies
Action<IdentityCookiesBuilder>

Tanımlama bilgilerini yapılandırmak için kullanılan eylem.

Döndürülenler

IdentityCookiesBuilder Kimlik tanımlama bilgilerini yapılandırmak için kullanılabilir.

Şunlara uygulanır