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
7  @source https://github.com/sasjs/core
8 
9  <h4> Dependencies </h4>
10  @li mv_tokenrefresh.sas
11 
12  **/
13 
14  %macro mv_getaccesstoken(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_tokenrefresh(client_id=&client_id
25  ,client_secret=&client_secret
26  ,grant_type=&grant_type
27  ,user=&user
28  ,pass=&pass
29  ,access_token_var=&access_token_var
30  ,refresh_token_var=&refresh_token_var
31 )
32 
33 %mend;