Page Contents
Home > @loopback/authentication > AuthenticateActionProvider
AuthenticateActionProvider class
Provides the authentication action for a sequence
Signature:
export declare class AuthenticateActionProvider implements Provider<AuthenticateFn>
Implements: Provider<AuthenticateFn>
Example
context.bind('authentication.actions.authenticate').toProvider(AuthenticateActionProvider)
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(getStrategies, setCurrentUser, setRedirectUrl, setRedirectStatus, options) | Constructs a new instance of the AuthenticateActionProvider class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
getStrategies | Getter<AuthenticationStrategy | AuthenticationStrategy[] | undefined> | ||
setCurrentUser | Setter<UserProfile> | ||
setRedirectStatus | Setter<number> | ||
setRedirectUrl | Setter<string> |
Methods
Method | Modifiers | Description |
---|---|---|
action(request) | The implementation of authenticate() sequence action. | |
value() |