AuthenticationWebBuilderExtensionsUseGemstoneAuthentication(IApplicationBuilder, ActionIAuthenticationWebBuilder) Method

Configures the request pipeline to support authentication providers using the given configuration method.

Definition

Namespace: Gemstone.Web.Security
Assembly: Gemstone.Web (in Gemstone.Web.dll) Version: 1.0.169 -- Release Build+8faf1ecac713d04b6f66b1362cad3fcad71f0c24
public static IApplicationBuilder UseGemstoneAuthentication(
	this IApplicationBuilder app,
	Action<IAuthenticationWebBuilder> configure
)

Parameters

app  IApplicationBuilder
The application builder
configure  ActionIAuthenticationWebBuilder
The method to configure authentication provider middleware

Return Value

IApplicationBuilder
The application builder.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IApplicationBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also