A factory that generates an Adapter to be used by the IDP to persist information.

The oidc-provider library will call the relevant functions when it needs to find/create/delete metadata. For a full explanation of how these functions work and what is expected, have a look at https://github.com/panva/node-oidc-provider/blob/main/example/my_adapter.js

Hierarchy

  • AdapterFactory

Implemented by

Properties

createStorageAdapter: ((name: string) => Adapter)

Type declaration

    • (name: string): Adapter
    • Parameters

      • name: string

      Returns Adapter