memoryRevokeStoreFactory function

RevokeStoreFactory memoryRevokeStoreFactory()

Creates a RevokeStoreFactory backed by InMemoryRevokeStore.

Implementation

RevokeStoreFactory memoryRevokeStoreFactory() {
  return RevokeStoreFactory(
    create: () async => InMemoryRevokeStore(),
    dispose: (store) async => store.close(),
  );
}