Page Contents

Home > @loopback/authentication-jwt > JWTAuthenticationStrategy

JWTAuthenticationStrategy class

Signature:

export declare class JWTAuthenticationStrategy implements AuthenticationStrategy 

Implements: AuthenticationStrategy

Constructors

Constructor Modifiers Description

(constructor)(tokenService)

Constructs a new instance of the JWTAuthenticationStrategy class

Properties

Property Modifiers Type Description

name

string

tokenService

TokenService

Methods

Method Modifiers Description

authenticate(request)

extractCredentials(request)