Production Ready Macros for SAS Application Developers
https://github.com/sasjs/core
mv_getaccesstoken.sas
Go to the documentation of this file.
1  /**
2  @file mv_getaccesstoken.sas
3  @brief deprecated - replaced by mv_tokenrefresh.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_tokenrefresh.sas
10 
11  **/
12 
13  %macro mv_getaccesstoken(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_tokenrefresh(client_id=&client_id
24  ,client_secret=&client_secret
25  ,grant_type=&grant_type
26  ,user=&user
27  ,pass=&pass
28  ,access_token_var=&access_token_var
29  ,refresh_token_var=&refresh_token_var
30 )
31 
32 %mend;