@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
35 lines (22 loc) • 1.09 kB
Markdown
---
lang: en
title: 'API docs: authentication-jwt.refreshtokenservice.refreshtoken'
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.refreshtokenservice.refreshtoken.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/authentication-jwt](./authentication-jwt.md) > [RefreshTokenService](./authentication-jwt.refreshtokenservice.md) > [refreshToken](./authentication-jwt.refreshtokenservice.refreshtoken.md)
## RefreshTokenService.refreshToken() method
Refresh the access token bound with the given refresh token.
<b>Signature:</b>
```typescript
refreshToken(refreshToken: string): Promise<TokenObject>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| refreshToken | string | |
<b>Returns:</b>
Promise<[TokenObject](./authentication-jwt.tokenobject.md)<!-- -->>