1
0
mirror of https://github.com/sasjs/adapter.git synced 2025-12-11 01:14:36 +00:00

chore: removing clientid

This commit is contained in:
2022-05-09 16:05:50 +02:00
parent a4cd320272
commit f7bd63ee7f
2 changed files with 1 additions and 3 deletions

View File

@@ -486,7 +486,7 @@ export default class SASjs {
])
if (this.sasjsConfig.serverType === ServerType.Sasjs)
return await this.sasJSApiClient!.getAccessToken(clientId, authCode)
return await this.sasJSApiClient!.getAccessToken(authCode)
return await this.sasViyaApiClient!.getAccessToken(
clientId,

View File

@@ -101,7 +101,6 @@ export class SASjsApiClient {
* @param authCode - the auth code received from the server.
*/
public async getAccessToken(
clientId: string,
authCode: string
): Promise<SASjsAuthResponse> {
return getAccessTokenForSasjs(this.requestClient, authCode)
@@ -124,7 +123,6 @@ export class SASjsApiClient {
public async getAuthCode(
username: string,
password: string,
clientId: string
) {
return getAuthCodeForSasjs(this.requestClient, username, password)
}