C# Class Microsoft.AspNetCore.Builder.OAuthValidationExtensions

Provides extension methods used to configure the OAuth2 validation middleware in an ASP.NET 5 pipeline.
显示文件 Open project: aspnet-contrib/AspNet.Security.OAuth.Extensions

Public Methods

Method Description
UseOAuthValidation ( [ app ) : IApplicationBuilder

Adds a new instance of the OAuth2 validation middleware in the ASP.NET 5 pipeline.

UseOAuthValidation ( [ app, [ options ) : IApplicationBuilder

Adds a new instance of the OAuth2 validation middleware in the ASP.NET 5 pipeline.

UseOAuthValidation ( [ app, [ configuration ) : IApplicationBuilder

Adds a new instance of the OAuth2 validation middleware in the ASP.NET 5 pipeline.

Method Details

UseOAuthValidation() public static method

Adds a new instance of the OAuth2 validation middleware in the ASP.NET 5 pipeline.
public static UseOAuthValidation ( [ app ) : IApplicationBuilder
app [ The application builder.
return IApplicationBuilder

UseOAuthValidation() public static method

Adds a new instance of the OAuth2 validation middleware in the ASP.NET 5 pipeline.
public static UseOAuthValidation ( [ app, [ options ) : IApplicationBuilder
app [ The application builder.
options [ The options used to configure the validation middleware.
return IApplicationBuilder

UseOAuthValidation() public static method

Adds a new instance of the OAuth2 validation middleware in the ASP.NET 5 pipeline.
public static UseOAuthValidation ( [ app, [ configuration ) : IApplicationBuilder
app [ The application builder.
configuration [ The delegate used to configure the validation options.
return IApplicationBuilder