move IdentityClient.getBearerToken

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2022-02-08 12:25:27 +01:00
parent 9058bb1b5e
commit b3f3e42036
16 changed files with 119 additions and 65 deletions
+7 -1
View File
@@ -2,4 +2,10 @@
'@backstage/plugin-auth-backend': minor
---
Made `IdentityClient.listPublicKeys` private. It was only used in tests, and should not be part of the API surface of that class. The interface is marked as experimental, and therefore this is a breaking change without a deprecation period.
- Made `IdentityClient.listPublicKeys` private. It was only used in tests, and
should not be part of the API surface of that class.
- Removed the static `IdentityClient.getBearerToken`. It is now replaced by
`getBearerTokenFromAuthorizationHeader` from `@backstage/plugin-auth-node`.
Since the `IdentityClient` interface is marked as experimental, this is a
breaking change without a deprecation period.
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-permission-backend': patch
'@backstage/plugin-search-backend': patch
---
Use `getBearerTokenFromAuthorizationHeader` from `@backstage/plugin-auth-node` instead of the deprecated `IdentityClient` method.