Refactor getAccessTokenResponseType().