Skip to main content

Class: FileInstallationStore

Implements

Constructors

new FileInstallationStore()

new FileInstallationStore(__namedParameters): FileInstallationStore

Parameters

__namedParameters: FileInstallationOptions = {}

Returns

FileInstallationStore

Defined in

packages/oauth/src/installation-stores/file-store.ts:19

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/file-store.ts:99


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/file-store.ts:61


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/file-store.ts:28