Options
All
  • Public
  • Public/Protected
  • All
Menu

CardManager initialization options.

Hierarchy

  • ICardManagerParams

Index

Properties

Optional accessTokenProvider

accessTokenProvider: IAccessTokenProvider

Implementation of IAccessTokenProvider to use to get the token for requests authentication. Optional.

cardCrypto

cardCrypto: ICardCrypto

Implementation of ICardCrypto interface.

cardVerifier

cardVerifier: ICardVerifier

Implementation of ICardVerifier interface to be used to verify the validity of Virgil Cards received from network and via CardManager.importCard method.

retryOnUnauthorized

retryOnUnauthorized: boolean

Alters the behavior of the CardManager when it receives an HTTP Unauthorized (401) error from the server. If this is set to true it will silently request a new token form the CardManager.accessTokenProvider and re-send the request, otherwise the error will be returned to the client.

Optional signCallback

signCallback: ISignCallback

Optional ISignCallback.