Page Contents
Home > @loopback/authentication > AuthMetadataProvider
AuthMetadataProvider class
Provides authentication metadata of a controller method
Signature:
export declare class AuthMetadataProvider implements Provider<AuthenticationMetadata[] | undefined>
Implements: Provider<AuthenticationMetadata[] | undefined>
Example
context.bind('authentication.operationMetadata').toProvider(AuthMetadataProvider)
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| [(constructor)(controllerClass, methodName, options)](/doc/en/lb4/apidocs.authentication.authmetadataprovider._constructor_.html) | Constructs a new instance of the `AuthMetadataProvider` class |
Methods
| Method | Modifiers | Description |
|---|---|---|
| [value()](/doc/en/lb4/apidocs.authentication.authmetadataprovider.value.html) |