Aracılığıyla paylaş


AzureADAuthenticationBuilderExtensions.AddAzureAD Yöntem

Tanım

Aşırı Yüklemeler

AddAzureAD(AuthenticationBuilder, Action<AzureADOptions>)
Geçersiz.

Uygulamanıza Azure Active Directory Kimlik Doğrulaması ekler.

AddAzureAD(AuthenticationBuilder, String, String, String, String, Action<AzureADOptions>)
Geçersiz.

Uygulamanıza Azure Active Directory Kimlik Doğrulaması ekler.

AddAzureAD(AuthenticationBuilder, Action<AzureADOptions>)

Kaynak:
AzureADAuthenticationBuilderExtensions.cs
Kaynak:
AzureADAuthenticationBuilderExtensions.cs
Kaynak:
AzureADAuthenticationBuilderExtensions.cs
Kaynak:
AzureADAuthenticationBuilderExtensions.cs
Kaynak:
AzureADAuthenticationBuilderExtensions.cs
Kaynak:
AzureADAuthenticationBuilderExtensions.cs

Dikkat

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.

Uygulamanıza Azure Active Directory Kimlik Doğrulaması ekler.

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

Parametreler

configureOptions
Action<AzureADOptions>

Action<T> yapılandırmak içinAzureADOptions

Döndürülenler

AuthenticationBuilder.

Öznitelikler

Şunlara uygulanır

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

Kaynak:
AzureADAuthenticationBuilderExtensions.cs
Kaynak:
AzureADAuthenticationBuilderExtensions.cs
Kaynak:
AzureADAuthenticationBuilderExtensions.cs
Kaynak:
AzureADAuthenticationBuilderExtensions.cs
Kaynak:
AzureADAuthenticationBuilderExtensions.cs
Kaynak:
AzureADAuthenticationBuilderExtensions.cs

Dikkat

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.

Uygulamanıza Azure Active Directory Kimlik Doğrulaması ekler.

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

Parametreler

scheme
String

Sanal düzenin tanımlayıcısı.

openIdConnectScheme
String

Temel alınan Open ID Connect düzeninin tanımlayıcısı.

cookieScheme
String

Temel alınan tanımlama bilgisi düzeninin tanımlayıcısı.

displayName
String

Düzenin görünen adı.

configureOptions
Action<AzureADOptions>

Action<T> yapılandırmak içinAzureADOptions

Döndürülenler

AuthenticationBuilder.

Öznitelikler

Şunlara uygulanır