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 |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
|
|
Getter<AuthenticationStrategy | AuthenticationStrategy[] | undefined> | ||
|
| |||
|
|
Setter<number> | ||
|
|
Setter<string> |
Methods
| Method | Modifiers | Description |
|---|---|---|
|
The implementation of authenticate() sequence action. | ||