UNPKG

@loopback/docs

Version:

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

36 lines (25 loc) 1.45 kB
--- lang: en title: 'API docs: authentication-jwt.refreshtokenservice._constructor_' 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._constructor_.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; [(constructor)](./authentication-jwt.refreshtokenservice._constructor_.md) ## RefreshtokenService.(constructor) Constructs a new instance of the `RefreshtokenService` class <b>Signature:</b> ```typescript constructor(refreshSecret: string, refreshExpiresIn: string, refreshIssure: string, refreshTokenRepository: RefreshTokenRepository, userService: MyUserService, jwtService: TokenService); ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | refreshSecret | string | | | refreshExpiresIn | string | | | refreshIssure | string | | | refreshTokenRepository | [RefreshTokenRepository](./authentication-jwt.refreshtokenrepository.md) | | | userService | [MyUserService](./authentication-jwt.myuserservice.md) | | | jwtService | [TokenService](./authentication.tokenservice.md) | |