C# Class Microsoft.AspNetCore.Builder.OpenIdAuthenticationExtensions

Exposes convenient extensions that can be used to add an instance of the OpenID authentication middleware in an ASP.NET 5 pipeline.
Show file Open project: aspnet-contrib/AspNet.Security.OpenId.Providers

Public Methods

Method Description
UseOpenIdAuthentication ( [ app, [ options ) : IApplicationBuilder

Adds OpenIdAuthenticationMiddleware{TOptions} to the specified IApplicationBuilder, which enables OpenID2 authentication capabilities.

UseOpenIdAuthentication ( [ app, [ configuration ) : IApplicationBuilder

Adds OpenIdAuthenticationMiddleware{TOptions} to the specified IApplicationBuilder, which enables OpenID2 authentication capabilities.

Method Details

UseOpenIdAuthentication() public static method

Adds OpenIdAuthenticationMiddleware{TOptions} to the specified IApplicationBuilder, which enables OpenID2 authentication capabilities.
public static UseOpenIdAuthentication ( [ app, [ options ) : IApplicationBuilder
app [ The .
options [ The used to configure the OAuth2 options.
return IApplicationBuilder

UseOpenIdAuthentication() public static method

Adds OpenIdAuthenticationMiddleware{TOptions} to the specified IApplicationBuilder, which enables OpenID2 authentication capabilities.
public static UseOpenIdAuthentication ( [ app, [ configuration ) : IApplicationBuilder
app [ The .
configuration [ The delegate used to configure the OAuth2 options.
return IApplicationBuilder