diff --git a/oauth3.js b/oauth3.js index b4d74f2..1c66232 100644 --- a/oauth3.js +++ b/oauth3.js @@ -139,7 +139,7 @@ return oauth3.discover(providerUri, opts).then(function (directive) { var prequest = core.implicitGrant( directive - // TODO OAuth3 provider should referer / origin as the appId? + // TODO OAuth3 provider should referrer / referer / origin as the appId? , opts ); @@ -530,6 +530,11 @@ return promise || promise2; }; + oauth3.core = core; + oauth3.querystringify = core.querystringify; + oauth3.scopestringify = core.stringifyscope; + oauth3.stringifyscope = core.stringifyscope; + exports.OAUTH3 = oauth3.oauth3 = oauth3.OAUTH3 = oauth3; exports.oauth3 = exports.OAUTH3;