mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-12 06:40:06 +00:00
feat: enable insecure connection for accessToken
This commit is contained in:
@@ -389,14 +389,16 @@ export default class SASjs {
|
||||
public async getAccessToken(
|
||||
clientId: string,
|
||||
clientSecret: string,
|
||||
authCode: string
|
||||
authCode: string,
|
||||
insecure: boolean = false
|
||||
) {
|
||||
this.isMethodSupported('getAccessToken', ServerType.SASViya)
|
||||
|
||||
return await this.sasViyaApiClient!.getAccessToken(
|
||||
clientId,
|
||||
clientSecret,
|
||||
authCode
|
||||
authCode,
|
||||
insecure
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user