Token Model

Prev Next

The OneSpan Identity Verification Token model contains information about 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

accessUrl

String

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

role

String

The role name. It has to be valid in the context of the workflow assigned to the transaction.

  • Maximum length: 32

  • Minimum length: 1

token

String

The secure token.

version

Integer

The version of the token record. Read-only property.

Default value: 0

Example token

{

  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6...joYZgeFONFh7HgQ",
  "role": "signer1",
  "version": "0",

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

}