Skip to main content

Authorize<IsEnterpriseInstall>

type Authorize<IsEnterpriseInstall> = (source, body?) => Promise<AuthorizeResult>;

Defined in: src/App.ts:163

Authorization function - seeds the middleware processing and listeners with an authorization context

Type Parameters​

IsEnterpriseInstall​

IsEnterpriseInstall extends boolean = false

Parameters​

source​

AuthorizeSourceData<IsEnterpriseInstall>

body?​

AnyMiddlewareArgs["body"]

Returns​

Promise<AuthorizeResult>