IdentityServiceCollectionUIExtensions.AddDefaultIdentity 메서드

정의

오버로드

AddDefaultIdentity<TUser>(IServiceCollection)

기본 UI, 토큰 공급자를 비롯한 공용 ID 서비스 집합을 애플리케이션에 추가하고 ID 쿠키를 사용하도록 인증을 구성합니다.

AddDefaultIdentity<TUser>(IServiceCollection, Action<IdentityOptions>)

기본 UI, 토큰 공급자를 비롯한 공용 ID 서비스 집합을 애플리케이션에 추가하고 ID 쿠키를 사용하도록 인증을 구성합니다.

AddDefaultIdentity<TUser>(IServiceCollection)

기본 UI, 토큰 공급자를 비롯한 공용 ID 서비스 집합을 애플리케이션에 추가하고 ID 쿠키를 사용하도록 인증을 구성합니다.

public static Microsoft.AspNetCore.Identity.IdentityBuilder AddDefaultIdentity<TUser> (this Microsoft.Extensions.DependencyInjection.IServiceCollection services) where TUser : class;
static member AddDefaultIdentity : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'User : null)
<Extension()>
Public Function AddDefaultIdentity(Of TUser As Class) (services As IServiceCollection) As IdentityBuilder

형식 매개 변수

TUser

매개 변수

반환

IdentityBuilder

IdentityBuilder

설명

기본 UI를 사용하려면 애플리케이션이 사용 Microsoft.AspNetCore.Mvc중이어야 하며 애플리케이션 Microsoft.AspNetCore.StaticFiles 에서 찾을 수 있는 _LoginPartial 부분 보기를 포함해야 합니다.

적용 대상

AddDefaultIdentity<TUser>(IServiceCollection, Action<IdentityOptions>)

기본 UI, 토큰 공급자를 비롯한 공용 ID 서비스 집합을 애플리케이션에 추가하고 ID 쿠키를 사용하도록 인증을 구성합니다.

public static Microsoft.AspNetCore.Identity.IdentityBuilder AddDefaultIdentity<TUser> (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.AspNetCore.Identity.IdentityOptions> configureOptions) where TUser : class;
static member AddDefaultIdentity : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.AspNetCore.Identity.IdentityOptions> -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'User : null)
<Extension()>
Public Function AddDefaultIdentity(Of TUser As Class) (services As IServiceCollection, configureOptions As Action(Of IdentityOptions)) As IdentityBuilder

형식 매개 변수

TUser

매개 변수

configureOptions
Action<IdentityOptions>

를 구성합니다 IdentityOptions.

반환

IdentityBuilder

IdentityBuilder

설명

기본 UI를 사용하려면 애플리케이션이 사용 Microsoft.AspNetCore.Mvc중이어야 하며 애플리케이션 Microsoft.AspNetCore.StaticFiles 에서 찾을 수 있는 _LoginPartial 부분 보기를 포함해야 합니다.

적용 대상