Skip to main content

Interface: InstallationStore

Properties

deleteInstallation()?

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

Parameters

query: InstallationQuery<boolean>

logger?: any

Returns

Promise<void>

Defined in

packages/oauth/src/installation-stores/interface.ts:16


fetchInstallation()

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

Parameters

query: InstallationQuery<boolean>

logger?: any

Returns

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

Defined in

packages/oauth/src/installation-stores/interface.ts:11

Methods

storeInstallation()

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

Type Parameters

AuthVersion extends "v1" | "v2"

Parameters

installation: Installation<AuthVersion, boolean>

logger?: any

Returns

Promise<void>

Defined in

packages/oauth/src/installation-stores/interface.ts:6