Client library for interacting with gatekeeper