Setting up a basic oauth permissions class