다음을 통해 공유


AuthenticationCoreServiceCollectionExtensions.AddAuthenticationCore 메서드

정의

오버로드

AddAuthenticationCore(IServiceCollection)

에 필요한 핵심 인증 서비스를 추가합니다 IAuthenticationService.

AddAuthenticationCore(IServiceCollection, Action<AuthenticationOptions>)

에 필요한 핵심 인증 서비스를 추가합니다 IAuthenticationService.

AddAuthenticationCore(IServiceCollection)

Source:
AuthenticationCoreServiceCollectionExtensions.cs
Source:
AuthenticationCoreServiceCollectionExtensions.cs
Source:
AuthenticationCoreServiceCollectionExtensions.cs

에 필요한 핵심 인증 서비스를 추가합니다 IAuthenticationService.

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAuthenticationCore (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddAuthenticationCore : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddAuthenticationCore (services As IServiceCollection) As IServiceCollection

매개 변수

반환

서비스 컬렉션입니다.

적용 대상

AddAuthenticationCore(IServiceCollection, Action<AuthenticationOptions>)

Source:
AuthenticationCoreServiceCollectionExtensions.cs
Source:
AuthenticationCoreServiceCollectionExtensions.cs
Source:
AuthenticationCoreServiceCollectionExtensions.cs

에 필요한 핵심 인증 서비스를 추가합니다 IAuthenticationService.

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAuthenticationCore (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.AspNetCore.Authentication.AuthenticationOptions> configureOptions);
static member AddAuthenticationCore : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.AspNetCore.Authentication.AuthenticationOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddAuthenticationCore (services As IServiceCollection, configureOptions As Action(Of AuthenticationOptions)) As IServiceCollection

매개 변수

configureOptions
Action<AuthenticationOptions>

AuthenticationOptions를 구성하는 데 사용됩니다.

반환

서비스 컬렉션입니다.

적용 대상