OpenIdConnectAppBuilderExtensions.UseOpenIdConnectAuthentication OpenIdConnectAppBuilderExtensions.UseOpenIdConnectAuthentication OpenIdConnectAppBuilderExtensions.UseOpenIdConnectAuthentication Method

Definition

Overloads

UseOpenIdConnectAuthentication(IApplicationBuilder) UseOpenIdConnectAuthentication(IApplicationBuilder) UseOpenIdConnectAuthentication(IApplicationBuilder)

UseOpenIdConnectAuthentication is obsolete. Configure OpenIdConnect authentication with AddAuthentication().AddOpenIdConnect in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions) UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions) UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)

UseOpenIdConnectAuthentication is obsolete. Configure OpenIdConnect authentication with AddAuthentication().AddOpenIdConnect in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions) UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions) UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)

Adds the OpenIdConnectMiddleware middleware to the specified IApplicationBuilder, which enables OpenID Connect authentication capabilities.

UseOpenIdConnectAuthentication(IApplicationBuilder) UseOpenIdConnectAuthentication(IApplicationBuilder) UseOpenIdConnectAuthentication(IApplicationBuilder)

Warning

This API is now obsolete.

UseOpenIdConnectAuthentication is obsolete. Configure OpenIdConnect authentication with AddAuthentication().AddOpenIdConnect in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

[System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)]
[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
<Extension()>
Public Function UseOpenIdConnectAuthentication (app As IApplicationBuilder) As IApplicationBuilder

Parameters

Returns

A reference to this instance after the operation has completed.

UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions) UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions) UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)

Warning

This API is now obsolete.

UseOpenIdConnectAuthentication is obsolete. Configure OpenIdConnect authentication with AddAuthentication().AddOpenIdConnect in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

[System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)]
[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);
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

Parameters

options
OpenIdConnectOptions OpenIdConnectOptions OpenIdConnectOptions

A OpenIdConnectOptions that specifies options for the handler.

Returns

A reference to this instance after the operation has completed.

UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions) UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions) UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)

Adds the OpenIdConnectMiddleware middleware to the specified IApplicationBuilder, which enables OpenID Connect authentication capabilities.

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

Parameters

options
OpenIdConnectOptions OpenIdConnectOptions OpenIdConnectOptions

A OpenIdConnectOptions that specifies options for the middleware.

Returns

A reference to this instance after the operation has completed.

Applies to