Token model

This is the session creation token.

Token properties lists the token properties in OneSpan Identity Verification.

  • Path: .../properties/transaction/properties/tokens/items
  • Type: object
Token properties
Property Type Description
token String

The secure token

role String

Role name; it has to be valid in the context of the workflow assigned to the transaction. .

Maximum length: 32

Minimum length: 1

version Integer

Read-only property; version of the token record.

Default value: 0

accessUrl String Access URL to start or resume a OneSpan Identity Verification workflow.

Example token

  1. {

  2.   "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6...joYZgeFONFh7HgQ",
  3.   "role": "signer1",
  4.   "version": "0",

  5.   "accessUrl": "https://<host>/<brand>/#/esign/<transactionId>?access_token=<token>"

  6. }