Skip to main content

user_authenticate

Api Code Documentation / Exports / user_authenticate

Table of contents#

Functions#

Functions#

addHttpHandler#

addHttpHandler(server, urlPrefix, service, jwtSecret): void

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

Parameters#

NameTypeDescription
serverFastifyInstance<Server, IncomingMessage, ServerResponse, FastifyLoggerInstance>the current fastify server instance
urlPrefixstringthe prefix of the http url
serviceServicethe service {@link Service} object used to offer an interface to the domain logic
jwtSecretstring-

Returns#

void

Defined in#

src/user_authenticate.ts:197