docs(refreshTokensForViya): added notes about limitation

This commit is contained in:
Yury Shkoda
2023-04-21 11:06:48 +03:00
parent 8360519408
commit a29b7f3b92
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -10,6 +10,7 @@ import { refreshTokensForSasjs } from './refreshTokensForSasjs'
/**
* Returns the auth configuration, refreshing the tokens if necessary.
* This function can only be used by Node, if a server type is SASVIYA.
* @param requestClient - the pre-configured HTTP request client
* @param authConfig - an object containing a client ID, secret, access token and refresh token
* @param serverType - server type for which refreshing the tokens, defaults to SASVIYA