Page Contents
Home > @loopback/authentication-jwt
authentication-jwt package
Classes
| Class | Description |
|---|---|
|
A spec enhancer to add bearer token OpenAPI security entry to | |
Interfaces
| Interface | Description |
|---|---|
|
The token refresh service. An access token expires in limited time. Therefore token refresh service is needed to keep replacing the old access token with a new one periodically. | |
Namespaces
| Namespace | Description |
|---|---|
|
Constant values used when generating refresh token. | |
|
Bindings related to token refresh service. The omitted explanation can be found in namespace | |
Variables
| Variable | Description |
|---|---|
Type Aliases
| Type Alias | Description |
|---|---|
|
A pre-defined type for user credentials. It assumes a user logs in using the email and password. You can modify it if your app has different credential fields | |
|
Describes the token object that returned by the refresh token service functions. | |