---
lang: en
title: 'API docs: authentication.authenticateactionprovider._constructor_'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.authentication.authenticateactionprovider._constructor_.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/authentication](./authentication.md) &gt; [AuthenticateActionProvider](./authentication.authenticateactionprovider.md) &gt; [(constructor)](./authentication.authenticateactionprovider._constructor_.md)

## AuthenticateActionProvider.(constructor)

Constructs a new instance of the `AuthenticateActionProvider` class

<b>Signature:</b>

```typescript
constructor(getStrategy: Getter<AuthenticationStrategy>, setCurrentUser: Setter<UserProfile>);
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  getStrategy | <code>Getter&lt;AuthenticationStrategy&gt;</code> |  |
|  setCurrentUser | <code>Setter&lt;UserProfile&gt;</code> |  |


