it's in the main repo, https://github.com/aerogear/aerogear-js/blob/master/src/authorization/adapters/oauth2.js