Exemple #1
0
        public void Initialize()
        {
            bullhornRestCredentials = new BullhornRestCredentials();
            bullhornRestCredentials.RestAuthorizeUrl         = "https://auth.bullhornstaffing.com/oauth/authorize";
            bullhornRestCredentials.RestLoginUrl             = "https://rest.bullhornstaffing.com/rest-services/login";
            bullhornRestCredentials.RestTokenUrl             = "https://auth.bullhornstaffing.com/oauth/token";
            bullhornRestCredentials.RestSessionMinutesToLive = 1400;
            bullhornRestCredentials.Username         = "******";
            bullhornRestCredentials.Password         = "******";
            bullhornRestCredentials.RestClientId     = "7575e977-498a-41e7-aeca-dc56101cca31";
            bullhornRestCredentials.RestClientSecret = "eBArvY6fu2iMeox0AxsX5OQY";


            bullhornClient = new BullhornClient(bullhornRestCredentials);
        }
Exemple #2
0
 public RestUriVariablesFactory(BullhornClient bullhornClient /**, RestFileManager restFileManager**/)
 {
     this.bullhornClient = bullhornClient;
     //this.restFileManager = restFileManager;
 }