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.178 -- Release Build+e530c5c0e31352f3de7b5819173c826f4dd2c6c7
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