AuthenticateUser() public method

public AuthenticateUser ( Credentials creds ) : AuthenticationResult
creds Credentials
return AuthenticationResult
Ejemplo n.º 1
0
        public ValidLogin()
        {
            //register the new user...
              var app = new Application("*****@*****.**", "password", "password");
              new Registrator().ApplyForMembership(app);

              var auth = new Authenticator();
              _result = auth.AuthenticateUser(new Credentials { Email = "*****@*****.**", Password = "******" });
        }