@loopback/docs
Version:
Documentation for LoopBack 4
32 lines (21 loc) • 1.13 kB
Markdown
lang: en
title: 'API docs: authentication.authenticateactionprovider._constructor_'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/authentication
permalink: /doc/en/lb4/apidocs.authentication.authenticateactionprovider._constructor_.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/authentication](./authentication.md) > [AuthenticateActionProvider](./authentication.authenticateactionprovider.md) > [(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<AuthenticationStrategy></code> | |
| setCurrentUser | <code>Setter<UserProfile></code> | |