Access token
Get the OAuth2 access token using the authorization code grant type
The authorization code previously received by the authorization server.
The granted access to be given to the access token.
An object containing the access token and associated info.
Get the OAuth2 access token using the JWT bearer token grant type
The email for the user associated with the private key being used.
Private key to be used to sign the JWT. The associated public key should be registered in Aspera On Cloud and will be used to verify the assertion.
The granted access to be given to the access token.
An object containing the access token and associated info.
Get the axios instance used by the AsperaOnCloudAuth class.
Axios instance
Get the base path used for Aspera On Cloud API requests.
Base path for API requests
Get the client id for the API integration.
Client id
Get the client secret for the API integration.
Client secret
Get the OAuth2 URL used for Aspera on Cloud API authentication
State to be returned in the redirect URI.
The granted access to be given to the access token.
The URL to be used for Aspera On Cloud API authentication.
Get the Aspera On Cloud organization.
Org
Get the redirect uri used by the API integration.
Redirect uri
Set the access token used to authenticate to the Aspera On Cloud API.
Access token
Get the access token used to authenticate to the Aspera On Cloud API.