DaffInMemoryBackendAuthService
import { DaffInMemoryBackendAuthService } from '@daffodil/auth/driver/in-memory'
@Injectable()
class DaffInMemoryBackendAuthService implements InMemoryDbService, DaffInMemorySingleRouteableBackend {
readonly collectionName: DAFF_AUTH_IN_MEMORY_COLLECTION_NAME
customers: Record<DaffInMemoryDbCustomer['email'], DaffInMemoryDbCustomer>
createDb()
post(reqInfo)
}
Properties
Name | Type | Description |
---|---|---|
collectionName | DAFF_AUTH_IN_MEMORY_COLLECTION_NAME | The collection name of the backend service where the backend only serves one collection. Used for routing requests to the correct backend. |
customers | Record<DaffInMemoryDbCustomer['email'], DaffInMemoryDbCustomer> | |
createDb | ||
post |