Skip to content

Simple client to create Bullhorn REST API sessions with automated OAuth2 login.

Notifications You must be signed in to change notification settings

jonathanraftery/bullhorn-auth-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bullhorn Auth Client

This package provides a simple way to automate Bullhorn REST API logins.

Installation

$ composer require jonathanraftery/bullhorn-auth-client

Usage

use jonathanraftery\Bullhorn\Rest\Authentication\Client as BullhornAuthClient;

$client = new BullhornAuthClient(
    'client_id',
    'client_secret'
);

$client->initiateSession(
    'bullhorn_username',
    'bullhorn_password'
);
$restToken = $session->getRestToken();
$restUrl = $session->getRestUrl();

// make Bullhorn calls

// once  your session expires, refresh with the stored refresh token
$client->refreshSession();

About

Simple client to create Bullhorn REST API sessions with automated OAuth2 login.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages