public AdLdsUserManagementService(IDirectoryContextFactory contextFactory, DirectoryConnectionConfig connectionConfig) { this.directoryContext = contextFactory.CreateDirectoryContext(connectionConfig); }
public IDirectoryContext CreateDirectoryContext(DirectoryConnectionConfig config) { return(new AdLdsDirectoryContext(config)); }
public AdLdsDirectoryContext(DirectoryConnectionConfig config) { this.config = config; }
public AdLdsUserAuthenticationService(IDirectoryContextFactory contextFactory, DirectoryConnectionConfig connectionConfig) { this.directoryContext = contextFactory.CreateDirectoryContext(connectionConfig); }