UNPKG

@loopback/docs

Version:

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

129 lines (61 loc) 2.06 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 **Signature:** ```typescript constructor(refreshSecret: string, refreshExpiresIn: string, refreshIssure: string, refreshTokenRepository: RefreshTokenRepository, userService: MyUserService, jwtService: TokenService); ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td markdown="1"> refreshSecret </td><td markdown="1"> string </td><td markdown="1"> </td></tr> <tr><td markdown="1"> refreshExpiresIn </td><td markdown="1"> string </td><td markdown="1"> </td></tr> <tr><td markdown="1"> refreshIssure </td><td markdown="1"> string </td><td markdown="1"> </td></tr> <tr><td markdown="1"> refreshTokenRepository </td><td markdown="1"> [RefreshTokenRepository](./authentication-jwt.refreshtokenrepository.md) </td><td markdown="1"> </td></tr> <tr><td markdown="1"> userService </td><td markdown="1"> [MyUserService](./authentication-jwt.myuserservice.md) </td><td markdown="1"> </td></tr> <tr><td markdown="1"> jwtService </td><td markdown="1"> [TokenService](./authentication.tokenservice.md) </td><td markdown="1"> </td></tr> </tbody></table>