|
static string | generateToken (hash< auto > cx, __7_ string client_id, timeout duration, int type, __7_ string auth_code) |
|
static __7_ string | validateToken (hash< auto > cx, string token, __7_ string client_id) |
|
◆ generateToken()
static string QorusOAuth2RestApi::OAuth2Rest::generateToken |
( |
hash< auto > |
cx, |
|
|
__7_ string |
client_id, |
|
|
timeout |
duration, |
|
|
int |
type, |
|
|
__7_ string |
auth_code |
|
) |
| |
|
inlinestatic |
- Parameters
-
cx | request context |
client_id | id of OAuht2 client |
duration | in milliseconds |
type | type of token to be generated (TT_ACCESS, TT_AUTHORIZATION, TT_REFRESH) |
auth_code | |
- Returns
- token...
The documentation for this class was generated from the following file: