Page Contents
Home > @loopback/authentication > AuthenticationStrategyProvider > (constructor)
AuthenticationStrategyProvider.(constructor)
Constructs a new instance of the AuthenticationStrategyProvider class
Signature:
constructor(authenticationStrategies: Getter<AuthenticationStrategy[]>, metadata?: AuthenticationMetadata[] | undefined);
Parameters
| Parameter | Type | Description |
|---|---|---|
| authenticationStrategies | Getter<[AuthenticationStrategy](/doc/en/lb4/apidocs.authentication.authenticationstrategy.html)\[\]> | |
| metadata | [AuthenticationMetadata](/doc/en/lb4/apidocs.authentication.authenticationmetadata.html)\[\] \| undefined | _(Optional)_ |