1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-10 13:50:05 +00:00

style: lint

This commit is contained in:
2022-05-09 16:08:49 +02:00
parent f7bd63ee7f
commit 5d2f1d306a

View File

@@ -100,9 +100,7 @@ export class SASjsApiClient {
* @param clientId - the client ID to authenticate with. * @param clientId - the client ID to authenticate with.
* @param authCode - the auth code received from the server. * @param authCode - the auth code received from the server.
*/ */
public async getAccessToken( public async getAccessToken(authCode: string): Promise<SASjsAuthResponse> {
authCode: string
): Promise<SASjsAuthResponse> {
return getAccessTokenForSasjs(this.requestClient, authCode) return getAccessTokenForSasjs(this.requestClient, authCode)
} }
@@ -120,10 +118,7 @@ export class SASjsApiClient {
* @param password - a string representing the password. * @param password - a string representing the password.
* @param clientId - the client ID to authenticate with. * @param clientId - the client ID to authenticate with.
*/ */
public async getAuthCode( public async getAuthCode(username: string, password: string) {
username: string,
password: string,
) {
return getAuthCodeForSasjs(this.requestClient, username, password) return getAuthCodeForSasjs(this.requestClient, username, password)
} }
} }