Options
All
  • Public
  • Public/Protected
  • All
Menu

A PassthroughAdapter that overrides the find function by checking if there are stored client credentials for the given ID if no payload is found in the source.

Hierarchy

Index

Constructors

Properties

name: string
source: Adapter

Methods

  • consume(id: string): Promise<undefined | void>
  • destroy(id: string): Promise<undefined | void>
  • find(id: string): Promise<undefined | void | AdapterPayload>
  • findByUid(uid: string): Promise<undefined | void | AdapterPayload>
  • findByUserCode(userCode: string): Promise<undefined | void | AdapterPayload>
  • revokeByGrantId(grantId: string): Promise<undefined | void>
  • upsert(id: string, payload: AdapterPayload, expiresIn: number): Promise<undefined | void>