Page Contents
Home > @loopback/authentication-jwt > JWTAuthenticationStrategy
JWTAuthenticationStrategy class
Signature:
export declare class JWTAuthenticationStrategy implements AuthenticationStrategy
Implements: AuthenticationStrategy
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| [(constructor)(tokenService)](/doc/en/lb4/apidocs.authentication-jwt.jwtauthenticationstrategy._constructor_.html) | Constructs a new instance of the `JWTAuthenticationStrategy` class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| [name](/doc/en/lb4/apidocs.authentication-jwt.jwtauthenticationstrategy.name.html) | string | ||
| [tokenService](/doc/en/lb4/apidocs.authentication-jwt.jwtauthenticationstrategy.tokenservice.html) | [TokenService](/doc/en/lb4/apidocs.authentication.tokenservice.html) |
Methods
| Method | Modifiers | Description |
|---|---|---|
| [authenticate(request)](/doc/en/lb4/apidocs.authentication-jwt.jwtauthenticationstrategy.authenticate.html) | ||
| [extractCredentials(request)](/doc/en/lb4/apidocs.authentication-jwt.jwtauthenticationstrategy.extractcredentials.html) |