Make determineAccessToken() public

Make determineAccessToken() public in order to check if an access token was sent before checking its validity.

Resubmitting against develop branch.