Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InitAdapter

Service class to initialize a plug-in and retrieve initialization response information.

Hierarchy

  • InitAdapter

Index

Constructors

Methods

Constructors

constructor

  • Creates a new instance of this class.

    Parameters

    • srcId: string

      the plug-in source ID to use for requests

    Returns InitAdapter

    the new instance

Methods

send

  • Sends an initialization message to the parent window (i.e. COYO) and retrieves the response.

    Parameters

    • timeout: number

      a maximum time to wait for the response

    Returns Promise<JwtClaims>

    a promise holding the decoded and validated JWT claims

Generated using TypeDoc