AzureADB2CAuthenticationBuilderExtensions.AddAzureADB2C 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AddAzureADB2C(AuthenticationBuilder, Action<AzureADB2COptions>) |
已过时.
将 Azure Active Directory B2C 身份验证添加到应用程序。 |
AddAzureADB2C(AuthenticationBuilder, String, String, String, String, Action<AzureADB2COptions>) |
已过时.
将 Azure Active Directory B2C 身份验证添加到应用程序。 |
AddAzureADB2C(AuthenticationBuilder, Action<AzureADB2COptions>)
注意
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 B2C 身份验证添加到应用程序。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ AddAzureADB2C(Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ builder, Action<Microsoft::AspNetCore::Authentication::AzureADB2C::UI::AzureADB2COptions ^> ^ configureOptions);
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddAzureADB2C (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, Action<Microsoft.AspNetCore.Authentication.AzureADB2C.UI.AzureADB2COptions> 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 AddAzureADB2C (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, Action<Microsoft.AspNetCore.Authentication.AzureADB2C.UI.AzureADB2COptions> configureOptions);
static member AddAzureADB2C : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * Action<Microsoft.AspNetCore.Authentication.AzureADB2C.UI.AzureADB2COptions> -> 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 AddAzureADB2C : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * Action<Microsoft.AspNetCore.Authentication.AzureADB2C.UI.AzureADB2COptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddAzureADB2C (builder As AuthenticationBuilder, configureOptions As Action(Of AzureADB2COptions)) As AuthenticationBuilder
参数
- configureOptions
- Action<AzureADB2COptions>
返回
- 属性
适用于
AddAzureADB2C(AuthenticationBuilder, String, String, String, String, Action<AzureADB2COptions>)
注意
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 B2C 身份验证添加到应用程序。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ AddAzureADB2C(Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ builder, System::String ^ scheme, System::String ^ openIdConnectScheme, System::String ^ cookieScheme, System::String ^ displayName, Action<Microsoft::AspNetCore::Authentication::AzureADB2C::UI::AzureADB2COptions ^> ^ configureOptions);
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddAzureADB2C (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string scheme, string openIdConnectScheme, string cookieScheme, string displayName, Action<Microsoft.AspNetCore.Authentication.AzureADB2C.UI.AzureADB2COptions> 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 AddAzureADB2C (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string scheme, string openIdConnectScheme, string cookieScheme, string displayName, Action<Microsoft.AspNetCore.Authentication.AzureADB2C.UI.AzureADB2COptions> configureOptions);
static member AddAzureADB2C : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string * string * string * string * Action<Microsoft.AspNetCore.Authentication.AzureADB2C.UI.AzureADB2COptions> -> 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 AddAzureADB2C : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string * string * string * string * Action<Microsoft.AspNetCore.Authentication.AzureADB2C.UI.AzureADB2COptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddAzureADB2C (builder As AuthenticationBuilder, scheme As String, openIdConnectScheme As String, cookieScheme As String, displayName As String, configureOptions As Action(Of AzureADB2COptions)) As AuthenticationBuilder
参数
- scheme
- String
虚拟方案的标识符。
- openIdConnectScheme
- String
基础 Open ID Connect 方案的标识符。
- cookieScheme
- String
基础 Cookie 方案的标识符。
- displayName
- String
方案的显示名称。
- configureOptions
- Action<AzureADB2COptions>
返回
- 属性