diff --git a/lib/oauth.js b/lib/oauth.js index 04202ff..76e52ea 100644 --- a/lib/oauth.js +++ b/lib/oauth.js @@ -51,6 +51,13 @@ class OAuth { return results }) } + + getPortalInfo() { + return this.client._request({ + method: 'GET', + path: `/oauth/v1/access-tokens/${this.client.accessToken}` + }) + } } module.exports = OAuth