Theia API Documentation v1.73.0
    Preparing search index...

    On Electron, we want to make sure that only Electron's browser-windows access the backend services.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    electronSecurityToken?: ElectronSecurityToken
    logger: ILogger

    Methods

    • Validates a token.

      This method both checks the shape of the parsed token data and its actual value.

      Parameters

      • token: unknown

        Parsed object sent by the client as the token.

      Returns boolean