UNPKG

@loopback/docs

Version:
33 lines (21 loc) 1.01 kB
--- lang: en title: 'API docs: authentication-jwt.jwtauthenticationstrategy.authenticate' keywords: LoopBack 4.0, LoopBack 4 sidebar: lb4_sidebar editurl: https://github.com/strongloop/loopback-next/tree/master/extensions/authentication-jwt permalink: /doc/en/lb4/apidocs.authentication-jwt.jwtauthenticationstrategy.authenticate.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/authentication-jwt](./authentication-jwt.md) &gt; [JWTAuthenticationStrategy](./authentication-jwt.jwtauthenticationstrategy.md) &gt; [authenticate](./authentication-jwt.jwtauthenticationstrategy.authenticate.md) ## JWTAuthenticationStrategy.authenticate() method <b>Signature:</b> ```typescript authenticate(request: Request): Promise<UserProfile | undefined>; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | request | <code>Request</code> | | <b>Returns:</b> `Promise<UserProfile | undefined>`