auth-node: deprecate getBearerTokenFromAuthorizationHeader

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Carl-Erik Bergström <cbergstrom@spotify.com>
Co-authored-by: blam <ben@blam.sh>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-02-15 18:57:04 +01:00
parent 72572b2fe1
commit b4fc6e3164
3 changed files with 7 additions and 1 deletions
@@ -24,6 +24,7 @@
* call it directly with e.g. the output of `req.header('authorization')`
* without first checking that it exists.
*
* @deprecated Use the `credentials` method of `HttpAuthService` from `@backstage/backend-plugin-api` instead
* @public
*/
export function getBearerTokenFromAuthorizationHeader(