Token ===== A token resource is used to call the API. Resource definition ------------------- .. literalinclude:: _static/Token.json :language: json +-----------------+-----------------+---------------------------------------------------------------------------------+ | Name | Type | Description | +=================+=================+=================================================================================+ | AccessToken | string | Token used to call the API | +-----------------+-----------------+---------------------------------------------------------------------------------+ | IdentityToken | string | Token used to identify the user | +-----------------+-----------------+---------------------------------------------------------------------------------+ | Error | string | Error message if token was not fetched | +-----------------+-----------------+---------------------------------------------------------------------------------+ | ExpiresIn | long | When token expires | +-----------------+-----------------+---------------------------------------------------------------------------------+ | TokenType | string | | +-----------------+-----------------+---------------------------------------------------------------------------------+ | RefreshToken | string | Token used to get a new access token | +-----------------+-----------------+---------------------------------------------------------------------------------+ Operations on Token ------------------- - :doc:`/scenarios/token-get`