Page Contents

Home > @loopback/authentication > AuthenticationBindings

AuthenticationBindings namespace

Binding keys used by this component.


export declare namespace AuthenticationBindings 


Variable Description
AUTH_ACTION Key used to inject the authentication function into the sequence.
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 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