@loopback/docs
Version:
Documentation for LoopBack 4
30 lines (19 loc) • 903 B
Markdown
---
lang: en
title: 'API docs: authentication.strategyadapter.(constructor)'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.authentication.strategyadapter.(constructor).html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/authentication](./authentication.md) > [StrategyAdapter](./authentication.strategyadapter.md) > [(constructor)](./authentication.strategyadapter.(constructor).md)
## StrategyAdapter.(constructor)
Constructs a new instance of the `StrategyAdapter` class
<b>Signature:</b>
```typescript
constructor(strategy: Strategy);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| strategy | <code>Strategy</code> | instance of a class which implements a passport-strategy<!-- -->@[Passport](http://passportjs.org/) |