private static EisWebAuthenticationDetail GetWebAuthenticationDetail() { var wad = new EisWebAuthenticationDetail(); wad.UserCredential = new EisWebAuthenticationCredential(); wad.UserCredential.Key = "ihVYTuZYiLziO0hH"; //TODO: should get from config file wad.UserCredential.Password = "******"; //TODO: should get from config file wad.ParentCredential = new EisWebAuthenticationCredential(); wad.ParentCredential.Key = "ihVYTuZYiLziO0hH"; //TODO: should get from config file wad.ParentCredential.Password = "******"; //TODO: should get from config file return(wad); }
public void SetWebAuthenticationDetail(EisWebAuthenticationDetail webAuthenticationDetail) { WebAuthenticationDetail = Mapper.Map <WebAuthenticationDetail>(webAuthenticationDetail); }