Page Contents
Home > @loopback/authentication > AuthMetadataProvider > (constructor)
AuthMetadataProvider.(constructor)
Constructs a new instance of the AuthMetadataProvider class
Signature:
constructor(controllerClass: Constructor<{}>, methodName: string, options?: AuthenticationOptions);
Parameters
| Parameter | Type | Description |
|---|---|---|
|
controllerClass |
Constructor<{}> | |
|
methodName |
string | |
|
options |
(Optional) |