Esempio n. 1
0
        protected override bool Authenticate(string username, string password)
        {
            AuthenticationCheckEventArgs eventArgs = new AuthenticationCheckEventArgs(username, password);

            eventArgs.IsAuthenticated = false;
            AuthenticationCheck(this, eventArgs);
            return(eventArgs.IsAuthenticated);
        }
Esempio n. 2
0
 protected override bool Authenticate(string username, string password)
 {
     AuthenticationCheckEventArgs eventArgs = new AuthenticationCheckEventArgs(username, password);
     eventArgs.IsAuthenticated = false;
     AuthenticationCheck(this, eventArgs);
     return eventArgs.IsAuthenticated;
 }