Page Contents
Home > @loopback/authentication > AuthenticationBindings
AuthenticationBindings namespace
Binding keys used by this component.
Signature:
export declare namespace AuthenticationBindings
Variables
| Variable | Description |
|---|---|
| AUTH_ACTION | Key used to inject the authentication function into the sequence. |
| AUTHENTICATION_MIDDLEWARE | Binding key for AUTHENTICATION_MIDDLEWARE |
| AUTHENTICATION_REDIRECT_STATUS | |
| AUTHENTICATION_REDIRECT_URL | |
| AUTHENTICATION_STRATEGY_EXTENSION_POINT_NAME | |
| COMPONENT | |
| CURRENT_USER | |
| METADATA | Key used to inject authentication metadata, which is used to determine whether a request requires authentication or not. |
| STRATEGY | Key used to bind an authentication strategy or multiple strategies to the context for the authentication function to use. |
| USER_PROFILE_FACTORY | Key used to bind a user profile factory to the context for any consumer to use when they need to convert a user object into a slimmer user profile object |