AuthenticationCoreServiceCollectionExtensions.AddAuthenticationCore メソッド

定義

オーバーロード

AddAuthenticationCore(IServiceCollection)

に必要なコア認証サービスを追加します IAuthenticationService

AddAuthenticationCore(IServiceCollection, Action<AuthenticationOptions>)

に必要なコア認証サービスを追加します IAuthenticationService

AddAuthenticationCore(IServiceCollection)

に必要なコア認証サービスを追加します 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>)

に必要なコア認証サービスを追加します 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 の構成に使用されます。

戻り値

サービス コレクション。

適用対象