Auth Storage Adapter

Functions

Functions

EpicFlowAdapter

Create an AuthJS-compatible database adapter using Epic Flow storage

Signature:

EpicFlowAdapter(config: AuthStorageAdapterConfig): Adapter

Parameters:

ParameterTypeRequiredDescription
configAuthStorageAdapterConfigYesConfiguration for the adapter

Returns:

Adapter - AuthJS Adapter instance

Examples:

import { EpicFlowAdapter } from '@epicdm/flowstate-auth-storage-adapter';

export default NextAuth({
  adapter: EpicFlowAdapter({
    domainId: 'my-app',
    version: 1
  }),
  // ... other NextAuth config
});
Previous
Classes