MCPcopy Index your code
hub / github.com/loopbackio/loopback-next / asAuthStrategy

Function asAuthStrategy

packages/authentication/src/types.ts:136–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134 * A binding template for auth strategy contributor extensions
135 */
136export const asAuthStrategy: BindingTemplate = binding => {
137 extensionFor(
138 AuthenticationBindings.AUTHENTICATION_STRATEGY_EXTENSION_POINT_NAME,
139 )(binding);
140 binding.tag({
141 namespace:
142 AuthenticationBindings.AUTHENTICATION_STRATEGY_EXTENSION_POINT_NAME,
143 });
144};
145
146/**
147 * Get the authentication metadata object for the specified strategy.

Callers

nothing calls this directly

Calls 2

extensionForFunction · 0.90
tagMethod · 0.80

Tested by

no test coverage detected