AzureADAuthenticationBuilderExtensions.AddAzureADBearer メソッド

定義

オーバーロード

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

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

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

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

AddAzureADBearer(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 アプリケーションのアプリに JWT Bearer 認証を追加します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ AddAzureADBearer(Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ builder, Action<Microsoft::AspNetCore::Authentication::AzureAD::UI::AzureADOptions ^> ^ configureOptions);
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddAzureADBearer (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 AddAzureADBearer (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, Action<Microsoft.AspNetCore.Authentication.AzureAD.UI.AzureADOptions> configureOptions);
static member AddAzureADBearer : 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 AddAzureADBearer : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * Action<Microsoft.AspNetCore.Authentication.AzureAD.UI.AzureADOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddAzureADBearer (builder As AuthenticationBuilder, configureOptions As Action(Of AzureADOptions)) As AuthenticationBuilder

パラメーター

configureOptions
Action<AzureADOptions>

Action<T>を構成する AzureADOptions

戻り値

AuthenticationBuilder

属性

適用対象

AddAzureADBearer(AuthenticationBuilder, 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 アプリケーションのアプリに JWT Bearer 認証を追加します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ AddAzureADBearer(Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ builder, System::String ^ scheme, System::String ^ jwtBearerScheme, Action<Microsoft::AspNetCore::Authentication::AzureAD::UI::AzureADOptions ^> ^ configureOptions);
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddAzureADBearer (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string scheme, string jwtBearerScheme, 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 AddAzureADBearer (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string scheme, string jwtBearerScheme, Action<Microsoft.AspNetCore.Authentication.AzureAD.UI.AzureADOptions> configureOptions);
static member AddAzureADBearer : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * 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 AddAzureADBearer : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string * string * Action<Microsoft.AspNetCore.Authentication.AzureAD.UI.AzureADOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddAzureADBearer (builder As AuthenticationBuilder, scheme As String, jwtBearerScheme As String, configureOptions As Action(Of AzureADOptions)) As AuthenticationBuilder

パラメーター

scheme
String

仮想スキームの識別子。

jwtBearerScheme
String

基になる JWT ベアラー スキームの識別子。

configureOptions
Action<AzureADOptions>

Action<T>を構成する AzureADOptions

戻り値

AuthenticationBuilder

属性

適用対象