@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
75 lines (38 loc) • 1.59 kB
Markdown
---
lang: en
title: 'API docs: authentication.authenticationstrategyprovider._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.authenticationstrategyprovider._constructor_.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/authentication](./authentication.md) > [AuthenticationStrategyProvider](./authentication.authenticationstrategyprovider.md) > [(constructor)](./authentication.authenticationstrategyprovider._constructor_.md)
## AuthenticationStrategyProvider.(constructor)
Constructs a new instance of the `AuthenticationStrategyProvider` class
**Signature:**
```typescript
constructor(authenticationStrategies: Getter<AuthenticationStrategy[]>, metadata?: AuthenticationMetadata[] | undefined);
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
authenticationStrategies
</td><td markdown="1">
Getter<[AuthenticationStrategy](./authentication.authenticationstrategy.md)<!-- -->\[\]>
</td><td markdown="1">
</td></tr>
<tr><td markdown="1">
metadata
</td><td markdown="1">
[AuthenticationMetadata](./authentication.authenticationmetadata.md)<!-- -->\[\] \| undefined
</td><td markdown="1">
_(Optional)_
</td></tr>
</tbody></table>