Example #1
0
 public void Init()
 {
     provider = new LdapProvider(new ApplicationConfiguration())
     {
         Logger = Substitute.For <ILogger>()
     };
 }
Example #2
0
 public UserRepository(ILdapProvider ldapProvider, IPrincipalProvider principalProvider)
 {
     this.ldapProvider      = ldapProvider;
     this.principalProvider = principalProvider;
 }
 public LdapAttributeMapper(ILdapProvider provider)
 {
     _provider = provider;
 }