Extended from node-oauth2-server library