Skip to main content

user_permission_grant

Api Code Documentation / Exports / user_permission_grant

Table of contents#

Functions#

Functions#

addHttpHandler#

â–¸ addHttpHandler(server, urlPrefix, service): void

Creates an http handler that handles incoming http requests for the /user.intent.grantPermission route

Parameters#

NameTypeDescription
serverAugmentedFastifyInstancethe current fastify server instance
urlPrefixstringthe prefix of the http url
serviceServicethe service {@link Service} object used to offer an interface to the domain logic

Returns#

void

Defined in#

src/user_permission_grant.ts:128