示例#1
0
 public override string Authenticate(string dn, string user, string password)
 {
     log.Debug("Token request from user: "******"";
         token = GenerateToken(dn);
         return(token);
     }
     else
     {
         throw new AuthenticationMismatchException();
     }
 }