@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
35 lines (24 loc) • 1.76 kB
Markdown
---
lang: en
title: 'API docs: authentication.authenticateactionprovider._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.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(getStrategies: Getter<AuthenticationStrategy | AuthenticationStrategy[] | undefined>, setCurrentUser: Setter<UserProfile>, setRedirectUrl: Setter<string>, setRedirectStatus: Setter<number>, options?: AuthenticationOptions);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| getStrategies | [Getter](./context.getter.md)<!-- --><[AuthenticationStrategy](./authentication.authenticationstrategy.md) \| [AuthenticationStrategy](./authentication.authenticationstrategy.md)<!-- -->\[\] \| undefined> | |
| setCurrentUser | [Setter](./context.setter.md)<!-- --><[UserProfile](./security.userprofile.md)<!-- -->> | |
| setRedirectUrl | [Setter](./context.setter.md)<!-- --><string> | |
| setRedirectStatus | [Setter](./context.setter.md)<!-- --><number> | |
| options | [AuthenticationOptions](./authentication.authenticationoptions.md) | |