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
7  @source https://github.com/sasjs/core
8 
9  <h4> Dependencies </h4>
10  @li mv_tokenauth.sas
11 
12  **/
13 
14  %macro mv_getrefreshtoken(client_id=someclient
15  ,client_secret=somesecret
16  ,grant_type=authorization_code
17  ,code=
18  ,user=
19  ,pass=
20  ,access_token_var=ACCESS_TOKEN
21  ,refresh_token_var=REFRESH_TOKEN
22  );
23 
24 %mv_tokenauth(client_id=&client_id
25  ,client_secret=&client_secret
26  ,grant_type=&grant_type
27  ,code=&code
28  ,user=&user
29  ,pass=&pass
30  ,access_token_var=&access_token_var
31  ,refresh_token_var=&refresh_token_var
32 )
33 
34 %mend;