@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
89 lines (44 loc) • 1.55 kB
Markdown
---
lang: en
title: 'API docs: authentication.authmetadataprovider._constructor_'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/authentication
permalink: /doc/en/lb4/apidocs.authentication.authmetadataprovider._constructor_.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/authentication](./authentication.md) > [AuthMetadataProvider](./authentication.authmetadataprovider.md) > [(constructor)](./authentication.authmetadataprovider._constructor_.md)
## AuthMetadataProvider.(constructor)
Constructs a new instance of the `AuthMetadataProvider` class
**Signature:**
```typescript
constructor(controllerClass: Constructor<{}>, methodName: string, options?: AuthenticationOptions);
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
controllerClass
</td><td markdown="1">
[Constructor](./context.constructor.md)<!-- --><{}>
</td><td markdown="1">
</td></tr>
<tr><td markdown="1">
methodName
</td><td markdown="1">
string
</td><td markdown="1">
</td></tr>
<tr><td markdown="1">
options
</td><td markdown="1">
[AuthenticationOptions](./authentication.authenticationoptions.md)
</td><td markdown="1">
_(Optional)_
</td></tr>
</tbody></table>