Skip to main content

Class: MemoryInstallationStore

Implements

Constructors

new MemoryInstallationStore()

new MemoryInstallationStore(): MemoryInstallationStore

Returns

MemoryInstallationStore

Properties

devDB

devDB: DevDatabase = {};

Defined in

packages/oauth/src/installation-stores/memory-store.ts:12

Methods

deleteInstallation()

deleteInstallation(query, logger?): Promise<void>

Parameters

query: InstallationQuery<boolean>

logger?: any

Returns

Promise<void>

Implementation of

InstallationStore.deleteInstallation

Defined in

packages/oauth/src/installation-stores/memory-store.ts:62


fetchInstallation()

fetchInstallation(query, logger?): Promise<Installation<"v1" | "v2", boolean>>

Parameters

query: InstallationQuery<boolean>

logger?: any

Returns

Promise<Installation<"v1" | "v2", boolean>>

Implementation of

InstallationStore.fetchInstallation

Defined in

packages/oauth/src/installation-stores/memory-store.ts:38


storeInstallation()

storeInstallation(installation, logger?): Promise<void>

Parameters

installation: Installation<"v1" | "v2", boolean>

logger?: any

Returns

Promise<void>

Implementation of

InstallationStore.storeInstallation

Defined in

packages/oauth/src/installation-stores/memory-store.ts:14