UNPKG

@loopback/docs

Version:

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

33 lines (21 loc) 947 B
--- lang: en title: 'API docs: authentication-jwt.jwtservice.verifytoken' keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI sidebar: lb4_sidebar editurl: https://github.com/loopbackio/loopback-next/tree/master/extensions/authentication-jwt permalink: /doc/en/lb4/apidocs.authentication-jwt.jwtservice.verifytoken.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/authentication-jwt](./authentication-jwt.md) &gt; [JWTService](./authentication-jwt.jwtservice.md) &gt; [verifyToken](./authentication-jwt.jwtservice.verifytoken.md) ## JWTService.verifyToken() method <b>Signature:</b> ```typescript verifyToken(token: string): Promise<UserProfile>; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | token | string | | <b>Returns:</b> Promise&lt;[UserProfile](./security.userprofile.md)<!-- -->&gt;