Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ElectronTokenBackendContribution

This component contributes an Express middleware that will refuse all requests that do not include a specific token.

Hierarchy

  • ElectronTokenBackendContribution

Implements

Index

Properties

Protected Readonly tokenValidator

tokenValidator: ElectronTokenValidator

Methods

configure

  • configure(app: express.Application): void

Protected expressMiddleware

  • expressMiddleware(req: express.Request, res: express.Response, next: express.NextFunction): void