Page Contents

Home > @loopback/authentication > AuthenticationBindings

AuthenticationBindings namespace

Binding keys used by this component.

Signature:

export declare namespace AuthenticationBindings 

Variables

Variable Description
[AUTH\_ACTION](/doc/en/lb4/apidocs.authentication.authenticationbindings.auth_action.html) Key used to inject the authentication function into the sequence.
[AUTHENTICATION\_MIDDLEWARE](/doc/en/lb4/apidocs.authentication.authenticationbindings.authentication_middleware.html) Binding key for AUTHENTICATION\_MIDDLEWARE
[AUTHENTICATION\_REDIRECT\_STATUS](/doc/en/lb4/apidocs.authentication.authenticationbindings.authentication_redirect_status.html)
[AUTHENTICATION\_REDIRECT\_URL](/doc/en/lb4/apidocs.authentication.authenticationbindings.authentication_redirect_url.html)
[AUTHENTICATION\_STRATEGY\_EXTENSION\_POINT\_NAME](/doc/en/lb4/apidocs.authentication.authenticationbindings.authentication_strategy_extension_point_name.html)
[COMPONENT](/doc/en/lb4/apidocs.authentication.authenticationbindings.component.html)
[CURRENT\_USER](/doc/en/lb4/apidocs.authentication.authenticationbindings.current_user.html)
[METADATA](/doc/en/lb4/apidocs.authentication.authenticationbindings.metadata.html) Key used to inject authentication metadata, which is used to determine whether a request requires authentication or not.
[STRATEGY](/doc/en/lb4/apidocs.authentication.authenticationbindings.strategy.html) Key used to bind an authentication strategy or multiple strategies to the context for the authentication function to use.
[USER\_PROFILE\_FACTORY](/doc/en/lb4/apidocs.authentication.authenticationbindings.user_profile_factory.html) 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