authentication

Authentication
Source:

Methods

(inner) authenticateClientURL(redirectURI, scopeopt) → {string}

Source:
Generate a URL for client side authentication.
Parameters:
Name Type Attributes Description
string Client ID token
redirectURI string URI you want to be redirected at
scope Object <optional>
The scope you want to request
Returns:
- A ready-to-use authentication url
Type
string

(inner) requestAppAccessToken(clientId, clientSecret) → {Promise}

Source:
Request an app access token
Parameters:
Name Type Description
clientId string The client id
clientSecret string The client secret
Returns:
Type
Promise