Page Contents

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

StrategyAdapter.(constructor)

Constructs a new instance of the StrategyAdapter class

Signature:

constructor(strategy: Strategy, name: string, userProfileFactory?: UserProfileFactory<U>);

Parameters

Parameter Type Description
strategy Strategy  
name string  
userProfileFactory UserProfileFactory<U>