import { DaffInMemoryBackendAuthService } from '@daffodil/auth/driver/in-memory'
@Injectable()
class DaffInMemoryBackendAuthService implements InMemoryDbService, DaffInMemorySingleRouteableBackend {
readonly collectionName: "auth" = DAFF_AUTH_IN_MEMORY_COLLECTION_NAME
customers: Record<string, DaffInMemoryDbCustomer> = {}
createDb(): { auth: Record<string, DaffInMemoryDbCustomer>; }
post(reqInfo): any
}
"auth"| Default | DAFF_AUTH_IN_MEMORY_COLLECTION_NAME |
|---|---|
| Description | The collection name of the backend service where the backend only serves one collection. Used for routing requests to the correct backend. |
Record| Default | {} |
|---|---|
| Description |
{ auth: Record; } any| Parameter | reqInfo: undefined |
|---|---|
| Description |