UNPKG

@loopback/docs

Version:

Documentation files rendered at [https://loopback.io](https://loopback.io)

35 lines (22 loc) 1.11 kB
--- lang: en title: 'API docs: authentication.authenticateactionprovider.action' keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI sidebar: lb4_sidebar editurl: https://github.com/strongloop/loopback-next/tree/master/packages/authentication permalink: /doc/en/lb4/apidocs.authentication.authenticateactionprovider.action.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/authentication](./authentication.md) &gt; [AuthenticateActionProvider](./authentication.authenticateactionprovider.md) &gt; [action](./authentication.authenticateactionprovider.action.md) ## AuthenticateActionProvider.action() method The implementation of authenticate() sequence action. <b>Signature:</b> ```typescript action(request: Request): Promise<UserProfile | undefined>; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | request | Request | The incoming request provided by the REST layer | <b>Returns:</b> Promise&lt;[UserProfile](./security.userprofile.md) \| undefined&gt;