Page Contents

Home > @loopback/authentication > StrategyAdapter > (constructor)

StrategyAdapter.(constructor)

Constructs a new instance of the StrategyAdapter class

Signature:

constructor(strategy: Strategy);

Parameters

Parameter Type Description
strategy Strategy instance of a class which implements a passport-strategy@Passport