次の方法で共有


AzureADAuthenticationBuilderExtensions.AddAzureAD メソッド

定義

オーバーロード

AddAzureAD(AuthenticationBuilder, Action<AzureADOptions>)
古い.

アプリケーションに Azure Active Directory 認証を追加します。

AddAzureAD(AuthenticationBuilder, String, String, String, String, Action<AzureADOptions>)
古い.

アプリケーションに Azure Active Directory 認証を追加します。

AddAzureAD(AuthenticationBuilder, Action<AzureADOptions>)

ソース:
AzureADAuthenticationBuilderExtensions.cs
ソース:
AzureADAuthenticationBuilderExtensions.cs
ソース:
AzureADAuthenticationBuilderExtensions.cs
ソース:
AzureADAuthenticationBuilderExtensions.cs
ソース:
AzureADAuthenticationBuilderExtensions.cs
ソース:
AzureADAuthenticationBuilderExtensions.cs

注意事項

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

戻り値

AuthenticationBuilder

属性

適用対象

AddAzureAD(AuthenticationBuilder, String, String, String, String, Action<AzureADOptions>)

ソース:
AzureADAuthenticationBuilderExtensions.cs
ソース:
AzureADAuthenticationBuilderExtensions.cs
ソース:
AzureADAuthenticationBuilderExtensions.cs
ソース:
AzureADAuthenticationBuilderExtensions.cs
ソース:
AzureADAuthenticationBuilderExtensions.cs
ソース:
AzureADAuthenticationBuilderExtensions.cs

注意事項

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

戻り値

AuthenticationBuilder

属性

適用対象