Options
All
  • Public
  • Public/Protected
  • All
Menu

Class responsible for tracking which Virgil SDK is being used to make requests, its version, browser and platform.

Hierarchy

  • VirgilAgent

Index

Constructors

Properties

Methods

Constructors

constructor

  • new VirgilAgent(product: string, version: string, userAgent?: undefined | string): VirgilAgent
  • Initializes a new instance of VirgilAgent.

    Parameters

    • product: string

      name of product eg (sdk, brainkey, bpp, keyknox, ratchet, e3kit, purekit) argument of request methods.

    • version: string

      version of the product.

    • Optional userAgent: undefined | string

    Returns VirgilAgent

Properties

value

value: string

Methods

getBrowser

  • getBrowser(): string

getOsName

  • getOsName(): string