Page Contents

Home > @loopback/authentication-jwt > SecuritySpecEnhancer

SecuritySpecEnhancer class

A spec enhancer to add bearer token OpenAPI security entry to spec.component.securitySchemes

Signature:

export declare class SecuritySpecEnhancer implements OASEnhancer 

Implements: OASEnhancer

Properties

Property Modifiers Type Description
[name](/doc/en/lb4/apidocs.authentication-jwt.securityspecenhancer.name.html) string

Methods

Method Modifiers Description
[modifySpec(spec)](/doc/en/lb4/apidocs.authentication-jwt.securityspecenhancer.modifyspec.html)