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](/doc/en/lb4/apidocs.context.constructor.html)<{}> | |
| methodName | string | |
| options | [AuthenticationOptions](/doc/en/lb4/apidocs.authentication.authenticationoptions.html) | _(Optional)_ |