WindowsAuthenticationProviderExtensionsAddWindowsAuthenticationProvider(IServiceCollection, String) Method

Adds the windows authentication provider as a singleton service using the given identity and default options.

Definition

Namespace: Gemstone.Security.AuthenticationProviders
Assembly: Gemstone.Security (in Gemstone.Security.dll) Version: 1.0.169 -- Release Build+43e28b5fd7125e5e0921cb1e975c038b7a974af2
public static IServiceCollection AddWindowsAuthenticationProvider(
	this IServiceCollection services,
	string identity
)

Parameters

services  IServiceCollection
The collection of services
identity  String
The identity of the authentication provider

Return Value

IServiceCollection
The collection of services.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IServiceCollection. 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