generateNewToken
This method uses a Cortex token to generate a new Cortex token. You can use this method to extend the expiration date of a token.
Name | Type | Required | Description |
cortexToken | string | yes | |
clientId | string | yes | The client id of your Cortex application |
clientSecret | string | yes | The client secret of your Cortex application |
The result is an object containing a field cortexToken.
Name | Type | Description |
cortexToken | string | The new Cortex token of the user |
Request
Response
{
"id": 1,
"jsonrpc": "2.0",
"method": "generateNewToken",
"params": {
"cortexToken": "xxx",
"clientId": "...",
"clientSecret": "..."
}
}
{
"id": 1,
"jsonrpc": "2.0",
"result": {
"cortexToken": "yyy"
}
}
Last modified 3yr ago