public SipMicrosoftAuthentication(AuthSchemes scheme, IAccounts accounts, IUserz userz)
        {
            this.scheme   = scheme;
            this.accounts = accounts;
            this.userz    = userz;

            this.connectingAssociations = new ThreadSafe.Dictionary <int, SecurityAssociation>(new Dictionary <int, SecurityAssociation>());

            this.timer      = new Timer(RemoveExpiredSecurityAssociationsTimer, null, 0, 60 * 1000);
            this.credHandle = Sspi.SafeAcquireCredentialsHandle(scheme.ToString(), CredentialUse.SECPKG_CRED_BOTH);
        }
 public SspiDigestAuthorizationManager()
 {
     this.credHandle = Sspi.SafeAcquireCredentialsHandle(AuthSchemes.Digest.ToString(), CredentialUse.SECPKG_CRED_BOTH);
 }