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.159 -- Release Build+5d24840ce0d15ce331388f06653b739a14286834
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