Gemstone Security Library
Show/Hide TOC

# WindowsAuthenticationProviderExtensions Class

Defines extensions for setting up the WindowsAuthenticationProvider.

## Definition

Namespace: Gemstone.Security.AuthenticationProviders
Assembly: Gemstone.Security (in Gemstone.Security.dll) Version: 1.0.155 -- Release Build+d8de0108f73c26e6d2af6f3161db9c9ea851a15c
C#
View Source Request Example

    public static class WindowsAuthenticationProviderExtensions

VB
View Source Request Example

    <ExtensionAttribute>
    Public NotInheritable Class WindowsAuthenticationProviderExtensions

C++
View Source Request Example

    [ExtensionAttribute]
    public ref class WindowsAuthenticationProviderExtensions abstract sealed

JavaScript
View Source Request Example

    Gemstone.Security.AuthenticationProviders.WindowsAuthenticationProviderExtensions = function();

    Type.createClass(
    	'Gemstone.Security.AuthenticationProviders.WindowsAuthenticationProviderExtensions');

Inheritance
  Object WindowsAuthenticationProviderExtensions

## Methods

AddWindowsAuthenticationProvider(IServiceCollection) | Adds the windows authentication provider as a singleton service using the default identity and options.
AddWindowsAuthenticationProvider(IServiceCollection, WindowsAuthenticationProviderOptions) | Adds the windows authentication provider as a singleton service using the default identity and given options.
AddWindowsAuthenticationProvider(IServiceCollection, ActionWindowsAuthenticationProviderOptions) | Adds the windows authentication provider as a transient service using the default identity and configured options.
AddWindowsAuthenticationProvider(IServiceCollection, String) | Adds the windows authentication provider as a singleton service using the given identity and default options.
AddWindowsAuthenticationProvider(IServiceCollection, String, WindowsAuthenticationProviderOptions) | Adds the windows authentication provider as a singleton service using the given identity and options.
AddWindowsAuthenticationProvider(IServiceCollection, String, ActionWindowsAuthenticationProviderOptions) | Adds the windows authentication provider as a transient service using the given identity and configured options.

## Fields

DefaultIdentity | The identity used by default if one is not provided.

## See Also

#### Reference

Gemstone.Security.AuthenticationProviders Namespace