mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-17 09:00:06 +00:00
chore: annotation added
This commit is contained in:
@@ -386,6 +386,13 @@ export default class SASjs {
|
|||||||
return await this.sasViyaApiClient!.getAuthCode(clientId)
|
return await this.sasViyaApiClient!.getAuthCode(clientId)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Exchanges the auth code for an access token for the given client.
|
||||||
|
* @param clientId - the client ID to authenticate with.
|
||||||
|
* @param clientSecret - the client secret to authenticate with.
|
||||||
|
* @param authCode - the auth code received from the server.
|
||||||
|
* @param insecure - this boolean tells adapter to ignore SSL errors. [Not Recommended]
|
||||||
|
*/
|
||||||
public async getAccessToken(
|
public async getAccessToken(
|
||||||
clientId: string,
|
clientId: string,
|
||||||
clientSecret: string,
|
clientSecret: string,
|
||||||
|
|||||||
Reference in New Issue
Block a user