OAuth2 plugin
QorusOAuth2RestApi::OAuth2Rest Class Reference
Inheritance diagram for QorusOAuth2RestApi::OAuth2Rest:

Public Member Functions

 init ()
 
 start ()
 
 stop ()
 

Static Public Member Functions

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)
 

Static Public Attributes

static bool exit = False
 

Member Function Documentation

◆ generateToken()

static string QorusOAuth2RestApi::OAuth2Rest::generateToken ( hash< auto >  cx,
__7_ string  client_id,
timeout  duration,
int  type,
__7_ string  auth_code 
)
inlinestatic
Parameters
cxrequest context
client_idid of OAuht2 client
durationin milliseconds
typetype 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: