Theia API Documentation v1.77.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
    electronSecurityToken?: ElectronSecurityToken
    logger: ILogger
    • 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