Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

Data

Data: string | Buffer | Uint8Array | StringWithEncoding

GetJwtCallback

GetJwtCallback: function

The callback function used to get the JWT as either string, or Jwt instance synchronously or asynchronously.

Type declaration

IAccessTokenSigner

IAccessTokenSigner: IAccessTokenSigner

ICardCrypto

ICardCrypto: ICardCrypto

IPrivateKey

IPrivateKey: IPrivateKey

IPrivateKeyExporter

IPrivateKeyExporter: IPrivateKeyExporter

IProductInfo

IProductInfo: object

Information about product for SDK usage statistic.

Type declaration

IPublicKey

IPublicKey: IPublicKey

ISignCallback

ISignCallback: function

User-specified callback function to be called just before publishing a Virgil Card to append additional signatures to it.

Receives a single parameter of type RawSignedModel and must return a RawSignedModel with additional signatures. Use ModelSigner to add signatures.

Type declaration

IWhitelist

IWhitelist: IVerifierCredentials[]

KeyEntryMeta

KeyEntryMeta: object

User-defined metadata stored with IKeyEntry.

Type declaration

  • [key: string]: string

Variables

Const BROWSER_LIST

BROWSER_LIST: object[] = [{test: [/googlebot/i],name: 'Googlebot'},{test: [/opera/i, /opr\/|opios/i],name: 'Opera',},{test: [/msie|trident/i],name: 'Internet Explorer',},{test: [/\sedg/i],name: 'Microsoft Edge'},{test: [/firefox|iceweasel|fxios/i],name: 'Firefox',},{test: [/chromium/i],name: 'Chromium'},{test: [/chrome|crios|crmo/i],name: 'Chrome',},{test: [/android/i],name: 'Android Browser'},{test: [/playstation 4/i],name: 'PlayStation 4',},{test: [/safari|applewebkit/i],name: 'Safari',}]

Const OS_LIST

OS_LIST: object[] = [/* Windows Phone */{name: 'Windows Phone',test: [/windows phone/i],},/* Windows */{test: [/windows/i],name: 'Windows'},/* macOS */{test: [/macintosh/i],name: 'macOS'},/* iOS */{test: [/(ipod|iphone|ipad)/i],name: 'iOS'},/* Android */{test: [/android/i],name: 'Android',},/* Linux */{test: [/linux/i],name: 'Linux',},/* Chrome OS */{test: [/CrOS/],name: 'Chrome OS'},/* Playstation 4 */{test: [/PlayStation 4/],name: 'PlayStation 4',},]