Page Contents

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

AuthenticateActionProvider.(constructor)

Constructs a new instance of the AuthenticateActionProvider class

Signature:

constructor(getStrategy: Getter<AuthenticationStrategy>, setCurrentUser: Setter<UserProfile>, setRedirectUrl: Setter<string>, setRedirectStatus: Setter<number>);

Parameters

Parameter Type Description
getStrategy Getter<AuthenticationStrategy>  
setCurrentUser Setter<UserProfile>  
setRedirectUrl Setter<string>  
setRedirectStatus Setter<number>