次の方法で共有


MicrosoftAccountAppBuilderExtensions.UseMicrosoftAccountAuthentication メソッド

定義

オーバーロード

UseMicrosoftAccountAuthentication(IApplicationBuilder)
古い.
古い.

UseMicrosoftAccountAuthentication は廃止されました。 AddAuthentication() を使用して MicrosoftAccount 認証を構成します。ConfigureServices の AddMicrosoftAccount。 詳細については、 https://go.microsoft.com/fwlink/?linkid=845470 をご覧ください。

UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions)
古い.
古い.

UseMicrosoftAccountAuthentication は廃止されました。 AddAuthentication() を使用して MicrosoftAccount 認証を構成します。ConfigureServices の AddMicrosoftAccount。 詳細については、 https://go.microsoft.com/fwlink/?linkid=845470 をご覧ください。

UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions)

指定した MicrosoftAccountMiddlewareIApplicationBuilderにミドルウェアを追加します。これにより、Microsoft アカウント認証機能が有効になります。

UseMicrosoftAccountAuthentication(IApplicationBuilder)

ソース:
MicrosoftAccountAppBuilderExtensions.cs
ソース:
MicrosoftAccountAppBuilderExtensions.cs

注意事項

UseMicrosoftAccountAuthentication is obsolete. Configure MicrosoftAccount authentication with AddAuthentication().AddMicrosoftAccount in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

UseMicrosoftAccountAuthentication は廃止されました。 AddAuthentication() を使用して MicrosoftAccount 認証を構成します。ConfigureServices の AddMicrosoftAccount。 詳細については、 https://go.microsoft.com/fwlink/?linkid=845470 をご覧ください。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseMicrosoftAccountAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMicrosoftAccountAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
[System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMicrosoftAccountAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
[System.Obsolete("UseMicrosoftAccountAuthentication is obsolete. Configure MicrosoftAccount authentication with AddAuthentication().AddMicrosoftAccount in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMicrosoftAccountAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseMicrosoftAccountAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)>]
static member UseMicrosoftAccountAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("UseMicrosoftAccountAuthentication is obsolete. Configure MicrosoftAccount authentication with AddAuthentication().AddMicrosoftAccount in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)>]
static member UseMicrosoftAccountAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseMicrosoftAccountAuthentication (app As IApplicationBuilder) As IApplicationBuilder

パラメーター

app
IApplicationBuilder

IApplicationBuilderハンドラーを追加する 。

戻り値

操作が完了した後のこのインスタンスへの参照。

属性

適用対象

UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions)

ソース:
MicrosoftAccountAppBuilderExtensions.cs
ソース:
MicrosoftAccountAppBuilderExtensions.cs

注意事項

UseMicrosoftAccountAuthentication is obsolete. Configure MicrosoftAccount authentication with AddAuthentication().AddMicrosoftAccount in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

UseMicrosoftAccountAuthentication は廃止されました。 AddAuthentication() を使用して MicrosoftAccount 認証を構成します。ConfigureServices の AddMicrosoftAccount。 詳細については、 https://go.microsoft.com/fwlink/?linkid=845470 をご覧ください。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseMicrosoftAccountAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Authentication::MicrosoftAccount::MicrosoftAccountOptions ^ options);
[System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMicrosoftAccountAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountOptions options);
[System.Obsolete("UseMicrosoftAccountAuthentication is obsolete. Configure MicrosoftAccount authentication with AddAuthentication().AddMicrosoftAccount in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMicrosoftAccountAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountOptions options);
[<System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)>]
static member UseMicrosoftAccountAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("UseMicrosoftAccountAuthentication is obsolete. Configure MicrosoftAccount authentication with AddAuthentication().AddMicrosoftAccount in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)>]
static member UseMicrosoftAccountAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseMicrosoftAccountAuthentication (app As IApplicationBuilder, options As MicrosoftAccountOptions) As IApplicationBuilder

パラメーター

app
IApplicationBuilder

IApplicationBuilderハンドラーを追加する 。

options
MicrosoftAccountOptions

MicrosoftAccountOptionsハンドラーのオプションを指定する 。

戻り値

操作が完了した後のこのインスタンスへの参照。

属性

適用対象

UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions)

指定した MicrosoftAccountMiddlewareIApplicationBuilderにミドルウェアを追加します。これにより、Microsoft アカウント認証機能が有効になります。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseMicrosoftAccountAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Builder::MicrosoftAccountOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMicrosoftAccountAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.MicrosoftAccountOptions options);
static member UseMicrosoftAccountAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.MicrosoftAccountOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseMicrosoftAccountAuthentication (app As IApplicationBuilder, options As MicrosoftAccountOptions) As IApplicationBuilder

パラメーター

app
IApplicationBuilder

IApplicationBuilderミドルウェアを追加する 。

options
MicrosoftAccountOptions

MicrosoftAccountOptionsミドルウェアのオプションを指定する 。

戻り値

操作が完了した後のこのインスタンスへの参照。

適用対象