---
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) &gt; [@loopback/authentication](./authentication.md) &gt; [AuthenticationStrategyProvider](./authentication.authenticationstrategyprovider.md) &gt; [(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&lt;[AuthenticationStrategy](./authentication.authenticationstrategy.md)<!-- -->\[\]&gt;


</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>


