OpenIdConnectAppBuilderExtensions.UseOpenIdConnectAuthentication Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
UseOpenIdConnectAuthentication(IApplicationBuilder) |
Устаревшие..
Устаревшие..
UseOpenIdConnectAuthentication устарел. Настройка проверки подлинности OpenIdConnect с помощью AddAuthentication(). AddOpenIdConnect в ConfigureServices. Дополнительные сведения см. в https://go.microsoft.com/fwlink/?linkid=845470. |
UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions) |
Устаревшие..
Устаревшие..
UseOpenIdConnectAuthentication устарел. Настройка проверки подлинности OpenIdConnect с помощью AddAuthentication(). AddOpenIdConnect в ConfigureServices. Дополнительные сведения см. в https://go.microsoft.com/fwlink/?linkid=845470. |
UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions) |
Добавляет ПО промежуточного слоя OpenIdConnectMiddleware в указанный IApplicationBuilder, который обеспечивает возможности проверки подлинности OpenID Connect. |
UseOpenIdConnectAuthentication(IApplicationBuilder)
- Исходный код:
- OpenIdConnectAppBuilderExtensions.cs
- Исходный код:
- OpenIdConnectAppBuilderExtensions.cs
Внимание!
Внимание!
UseOpenIdConnectAuthentication is obsolete. Configure OpenIdConnect authentication with AddAuthentication().AddOpenIdConnect in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
UseOpenIdConnectAuthentication устарел. Настройка проверки подлинности OpenIdConnect с помощью AddAuthentication(). AddOpenIdConnect в ConfigureServices. Дополнительные сведения см. в https://go.microsoft.com/fwlink/?linkid=845470.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseOpenIdConnectAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseOpenIdConnectAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
[System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseOpenIdConnectAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
[System.Obsolete("UseOpenIdConnectAuthentication is obsolete. Configure OpenIdConnect authentication with AddAuthentication().AddOpenIdConnect in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseOpenIdConnectAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseOpenIdConnectAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)>]
static member UseOpenIdConnectAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("UseOpenIdConnectAuthentication is obsolete. Configure OpenIdConnect authentication with AddAuthentication().AddOpenIdConnect in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)>]
static member UseOpenIdConnectAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseOpenIdConnectAuthentication (app As IApplicationBuilder) As IApplicationBuilder
Параметры
IApplicationBuilder для добавления обработчика.
Возвращаемое значение
Ссылка на этот экземпляр после завершения операции.
- Атрибуты
Применяется к
UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)
- Исходный код:
- OpenIdConnectAppBuilderExtensions.cs
- Исходный код:
- OpenIdConnectAppBuilderExtensions.cs
Внимание!
Внимание!
UseOpenIdConnectAuthentication is obsolete. Configure OpenIdConnect authentication with AddAuthentication().AddOpenIdConnect in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
UseOpenIdConnectAuthentication устарел. Настройка проверки подлинности OpenIdConnect с помощью AddAuthentication(). AddOpenIdConnect в ConfigureServices. Дополнительные сведения см. в https://go.microsoft.com/fwlink/?linkid=845470.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseOpenIdConnectAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Authentication::OpenIdConnect::OpenIdConnectOptions ^ options);
[System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseOpenIdConnectAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions options);
[System.Obsolete("UseOpenIdConnectAuthentication is obsolete. Configure OpenIdConnect authentication with AddAuthentication().AddOpenIdConnect in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseOpenIdConnectAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions options);
[<System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)>]
static member UseOpenIdConnectAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("UseOpenIdConnectAuthentication is obsolete. Configure OpenIdConnect authentication with AddAuthentication().AddOpenIdConnect in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)>]
static member UseOpenIdConnectAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseOpenIdConnectAuthentication (app As IApplicationBuilder, options As OpenIdConnectOptions) As IApplicationBuilder
Параметры
IApplicationBuilder для добавления обработчика.
- options
- OpenIdConnectOptions
OpenIdConnectOptions, указывающий параметры обработчика.
Возвращаемое значение
Ссылка на этот экземпляр после завершения операции.
- Атрибуты
Применяется к
UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)
Добавляет ПО промежуточного слоя OpenIdConnectMiddleware в указанный IApplicationBuilder, который обеспечивает возможности проверки подлинности OpenID Connect.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseOpenIdConnectAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Builder::OpenIdConnectOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseOpenIdConnectAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.OpenIdConnectOptions options);
static member UseOpenIdConnectAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.OpenIdConnectOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseOpenIdConnectAuthentication (app As IApplicationBuilder, options As OpenIdConnectOptions) As IApplicationBuilder
Параметры
IApplicationBuilder для добавления ПО промежуточного слоя.
- options
- OpenIdConnectOptions
OpenIdConnectOptions, указывающий параметры по промежуточного слоя.
Возвращаемое значение
Ссылка на этот экземпляр после завершения операции.