AzureADAuthenticationBuilderExtensions.AddAzureAD メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
AddAzureAD(AuthenticationBuilder, Action<AzureADOptions>) |
古い.
アプリケーションに Azure Active Directory 認証を追加します。 |
AddAzureAD(AuthenticationBuilder, String, String, String, String, Action<AzureADOptions>) |
古い.
アプリケーションに Azure Active Directory 認証を追加します。 |
AddAzureAD(AuthenticationBuilder, Action<AzureADOptions>)
注意事項
This is obsolete and will be removed in a future version. Use AddMicrosoftWebApiAuthentication from Microsoft.Identity.Web instead. See https://aka.ms/ms-identity-web.
アプリケーションに Azure Active Directory 認証を追加します。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ AddAzureAD(Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ builder, Action<Microsoft::AspNetCore::Authentication::AzureAD::UI::AzureADOptions ^> ^ configureOptions);
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddAzureAD (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, Action<Microsoft.AspNetCore.Authentication.AzureAD.UI.AzureADOptions> configureOptions);
[System.Obsolete("This is obsolete and will be removed in a future version. Use AddMicrosoftWebApiAuthentication from Microsoft.Identity.Web instead. See https://aka.ms/ms-identity-web.")]
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddAzureAD (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, Action<Microsoft.AspNetCore.Authentication.AzureAD.UI.AzureADOptions> configureOptions);
static member AddAzureAD : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * Action<Microsoft.AspNetCore.Authentication.AzureAD.UI.AzureADOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
[<System.Obsolete("This is obsolete and will be removed in a future version. Use AddMicrosoftWebApiAuthentication from Microsoft.Identity.Web instead. See https://aka.ms/ms-identity-web.")>]
static member AddAzureAD : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * Action<Microsoft.AspNetCore.Authentication.AzureAD.UI.AzureADOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddAzureAD (builder As AuthenticationBuilder, configureOptions As Action(Of AzureADOptions)) As AuthenticationBuilder
パラメーター
- configureOptions
- Action<AzureADOptions>
Action<T>を構成する 。AzureADOptions
戻り値
- 属性
適用対象
AddAzureAD(AuthenticationBuilder, String, String, String, String, Action<AzureADOptions>)
注意事項
This is obsolete and will be removed in a future version. Use AddMicrosoftWebApiAuthentication from Microsoft.Identity.Web instead. See https://aka.ms/ms-identity-web.
アプリケーションに Azure Active Directory 認証を追加します。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ AddAzureAD(Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ builder, System::String ^ scheme, System::String ^ openIdConnectScheme, System::String ^ cookieScheme, System::String ^ displayName, Action<Microsoft::AspNetCore::Authentication::AzureAD::UI::AzureADOptions ^> ^ configureOptions);
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddAzureAD (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string scheme, string openIdConnectScheme, string cookieScheme, string displayName, Action<Microsoft.AspNetCore.Authentication.AzureAD.UI.AzureADOptions> configureOptions);
[System.Obsolete("This is obsolete and will be removed in a future version. Use AddMicrosoftWebApiAuthentication from Microsoft.Identity.Web instead. See https://aka.ms/ms-identity-web.")]
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddAzureAD (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string scheme, string openIdConnectScheme, string cookieScheme, string displayName, Action<Microsoft.AspNetCore.Authentication.AzureAD.UI.AzureADOptions> configureOptions);
static member AddAzureAD : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string * string * string * string * Action<Microsoft.AspNetCore.Authentication.AzureAD.UI.AzureADOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
[<System.Obsolete("This is obsolete and will be removed in a future version. Use AddMicrosoftWebApiAuthentication from Microsoft.Identity.Web instead. See https://aka.ms/ms-identity-web.")>]
static member AddAzureAD : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string * string * string * string * Action<Microsoft.AspNetCore.Authentication.AzureAD.UI.AzureADOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddAzureAD (builder As AuthenticationBuilder, scheme As String, openIdConnectScheme As String, cookieScheme As String, displayName As String, configureOptions As Action(Of AzureADOptions)) As AuthenticationBuilder
パラメーター
- scheme
- String
仮想スキームの識別子。
- openIdConnectScheme
- String
基になる Open ID Connect スキームの識別子。
- cookieScheme
- String
基になる Cookie スキームの識別子。
- displayName
- String
スキームの表示名。
- configureOptions
- Action<AzureADOptions>
Action<T>を構成する 。AzureADOptions
戻り値
- 属性