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

Constructors

Properties

tokenValidator: ElectronTokenValidator

Methods

  • configure(app: Application): void
  • expressMiddleware(req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, res: Response<any, Record<string, any>>, next: NextFunction): void