Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Properties

Optional app

app: Application

Optional authentication

authentication: AuthenticationBase

expirationTimers

expirationTimers: WeakMap<object, any>

Optional name

name: string

Accessors

configuration

  • get configuration(): any

entityService

  • get entityService(): Service<any>

Methods

authenticate

  • authenticate(authentication: AuthenticationRequest, params: Params): Promise<{ accessToken: any; authentication: { accessToken: any; payload: any; strategy: string } }>

getEntity

  • getEntity(id: string, params: Params): Promise<any>
  • Return the entity for a given id

    Parameters

    • id: string

      The id to use

    • params: Params

      Service call parameters

    Returns Promise<any>

getEntityId

  • Parameters

    Returns Promise<any>

handleConnection

parse

  • parse(req: IncomingMessage): Promise<{ accessToken: string; strategy: string }>
  • Parameters

    • req: IncomingMessage

    Returns Promise<{ accessToken: string; strategy: string }>

setApplication

  • setApplication(app: Application): void

setAuthentication

setName

  • setName(name: string): void

verifyConfiguration

  • verifyConfiguration(): void

Generated using TypeDoc