Page Contents

Home > @loopback/authentication > AuthMetadataProvider

AuthMetadataProvider class

Provides authentication metadata of a controller method

Signature:

export declare class AuthMetadataProvider implements Provider<AuthenticationMetadata | undefined> 

Constructors

Constructor Modifiers Description
(constructor)(controllerClass, methodName)   Constructs a new instance of the AuthMetadataProvider class

Methods

Method Modifiers Description
value()    

Example

context.bind('authentication.operationMetadata').toProvider(AuthMetadataProvider)