| 134 | * A binding template for auth strategy contributor extensions |
| 135 | */ |
| 136 | export 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. |
nothing calls this directly
no test coverage detected