Production Ready Macros for SAS Application Developers
https://github.com/sasjs/core
mv_getrefreshtoken.sas
Go to the documentation of this file.
1  /**
2  @file mv_getrefreshtoken.sas
3  @brief deprecated - replaced by mv_tokenauth.sas
4 
5  @version VIYA V.03.04
6  @author Allan Bowe, source: https://github.com/sasjs/core
7 
8  <h4> SAS Macros </h4>
9  @li mv_tokenauth.sas
10 
11  **/
12 
13  %macro mv_getrefreshtoken(client_id=someclient
14  ,client_secret=somesecret
15  ,grant_type=authorization_code
16  ,code=
17  ,user=
18  ,pass=
19  ,access_token_var=ACCESS_TOKEN
20  ,refresh_token_var=REFRESH_TOKEN
21  );
22 
23 %mv_tokenauth(client_id=&client_id
24  ,client_secret=&client_secret
25  ,grant_type=&grant_type
26  ,code=&code
27  ,user=&user
28  ,pass=&pass
29  ,access_token_var=&access_token_var
30  ,refresh_token_var=&refresh_token_var
31 )
32 
33 %mend;