Base |
public string TokenCreate( TokenCreate request )
Note |
---|
A token return string will live for about 2 hours once created. After that the token will expire and a new one will need to be created. This method is very lightweight and can be called before each request if needed to ensure a token is never stale, however it is recommend that you try to reuse the generated token in your work-flow if possible. |
Caution |
---|
It is recommend to always validate a token via the [!:TokenValidate] method before sending a request. Sending in an invalid token will result in an error. |