Initializes new client with specific APS app credentials.
APS application client ID.
APS application client secret.
Retrieves 2-legged access token for a specific set of scopes (https://aps.autodesk.com/en/docs/oauth/v2/reference/http/gettoken-POST/). Unless the {@see force} parameter is used, the access tokens are cached based on their scopes and the 'expires_in' field in the response.
List of requested scopes.
Promise of 2-legged authentication object containing two fields, 'access_token' with the actual token, and 'expires_in' with expiration time (in seconds).
Generates a URL for 3-legged authentication (https://aps.autodesk.com/en/docs/oauth/v2/reference/http/authorize-GET/).
List of requested https://aps.autodesk.com/en/docs/oauth/v2/developers_guide/scopes/.
Same redirect URI as defined by the APS app.
Autodesk login URL.
Exchanges 3-legged authentication code for an access token (https://aps.autodesk.com/en/docs/oauth/v2/reference/http/gettoken-POST/).
Authentication code returned from the Autodesk login process.
Same redirect URI as defined by the APS app.
Promise of 3-legged authentication object containing 'access_token', 'refresh_token', and 'expires_in' with expiration time (in seconds).
Gets profile information for a user based on their 3-legged auth token (https://aps.autodesk.com/en/docs/profile/v1/reference/profile/oidcuserinfo/).
3-legged authentication token.
User profile information.
Refreshes 3-legged access token (https://aps.autodesk.com/en/docs/oauth/v2/reference/http/gettoken-POST/).
List of requested scopes.
Refresh token.
Promise of 3-legged authentication object containing 'access_token', 'refresh_token', and 'expires_in' with expiration time (in seconds).
Generated using TypeDoc
Client providing access to APS Authentication API (https://aps.autodesk.com/en/docs/oauth/v2/reference/http).
authentication