---
lang: en
title: 'API docs: authentication-jwt'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/extensions/authentication-jwt
permalink: /doc/en/lb4/apidocs.authentication-jwt.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/authentication-jwt](./authentication-jwt.md)

## authentication-jwt package

[@loopback/authentication-jwt](https://github.com/strongloop/loopback-next/tree/master/extensions/authentication-jwt)

## Classes

|  Class | Description |
|  --- | --- |
|  [JWTAuthenticationComponent](./authentication-jwt.jwtauthenticationcomponent.md) |  |
|  [JWTAuthenticationStrategy](./authentication-jwt.jwtauthenticationstrategy.md) |  |
|  [JWTService](./authentication-jwt.jwtservice.md) |  |
|  [MyUserService](./authentication-jwt.myuserservice.md) |  |
|  [SecuritySpecEnhancer](./authentication-jwt.securityspecenhancer.md) | A spec enhancer to add bearer token OpenAPI security entry to <code>spec.component.securitySchemes</code> |
|  [User](./authentication-jwt.user.md) |  |
|  [UserCredentials](./authentication-jwt.usercredentials.md) |  |
|  [UserCredentialsRepository](./authentication-jwt.usercredentialsrepository.md) |  |
|  [UserRepository](./authentication-jwt.userrepository.md) |  |

## Interfaces

|  Interface | Description |
|  --- | --- |
|  [UserCredentialsRelations](./authentication-jwt.usercredentialsrelations.md) |  |
|  [UserRelations](./authentication-jwt.userrelations.md) |  |

## Namespaces

|  Namespace | Description |
|  --- | --- |
|  [TokenServiceBindings](./authentication-jwt.tokenservicebindings.md) |  |
|  [TokenServiceConstants](./authentication-jwt.tokenserviceconstants.md) |  |
|  [UserServiceBindings](./authentication-jwt.userservicebindings.md) |  |

## Variables

|  Variable | Description |
|  --- | --- |
|  [OPERATION\_SECURITY\_SPEC](./authentication-jwt.operation_security_spec.md) |  |
|  [SECURITY\_SCHEME\_SPEC](./authentication-jwt.security_scheme_spec.md) |  |

## Type Aliases

|  Type Alias | Description |
|  --- | --- |
|  [Credentials](./authentication-jwt.credentials.md) | 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 |
|  [SecuritySchemeObjects](./authentication-jwt.securityschemeobjects.md) |  |
|  [UserCredentialsWithRelations](./authentication-jwt.usercredentialswithrelations.md) |  |
|  [UserWithRelations](./authentication-jwt.userwithrelations.md) |  |


