---
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) &gt; [@loopback/authentication-jwt](./authentication-jwt.md) &gt; [RefreshTokenService](./authentication-jwt.refreshtokenservice.md) &gt; [refreshToken](./authentication-jwt.refreshtokenservice.refreshtoken.md)

## RefreshTokenService.refreshToken() method

Refresh the access token bound with the given refresh token.

**Signature:**

```typescript
refreshToken(refreshToken: string): Promise<TokenObject>;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  refreshToken | string |  |

**Returns:**

Promise&lt;[TokenObject](./authentication-jwt.tokenobject.md)<!-- -->&gt;


