Updated getAccessTokenData() to accept a $request

Updated to close #31 :)