Page Contents

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

AuthenticateActionProvider.(constructor)

Constructs a new instance of the AuthenticateActionProvider class

Signature:

constructor(getStrategies: Getter<AuthenticationStrategy | AuthenticationStrategy[] | undefined>, setCurrentUser: Setter<UserProfile>, setRedirectUrl: Setter<string>, setRedirectStatus: Setter<number>, options?: AuthenticationOptions);

Parameters

Parameter Type Description
getStrategies Getter<AuthenticationStrategy | AuthenticationStrategy[] | undefined>  
setCurrentUser Setter<UserProfile>  
setRedirectUrl Setter<string>  
setRedirectStatus Setter<number>  
options AuthenticationOptions (Optional)