Merge pull request #8283 from backstage/mob/identity-api

core-plugin-api: stabilize IdentityApi
This commit is contained in:
Johan Haals
2021-12-08 14:29:03 +01:00
committed by GitHub
56 changed files with 1163 additions and 327 deletions
@@ -23,7 +23,7 @@ import {
PluginEndpointDiscovery,
} from '@backstage/backend-common';
import {
BackstageIdentity,
BackstageIdentityResponse,
IdentityClient,
} from '@backstage/plugin-auth-backend';
import {
@@ -71,7 +71,7 @@ export interface RouterOptions {
const handleRequest = async (
{ id, resourceRef, ...request }: Identified<AuthorizeRequest>,
user: BackstageIdentity | undefined,
user: BackstageIdentityResponse | undefined,
policy: PermissionPolicy,
permissionIntegrationClient: PermissionIntegrationClient,
authHeader?: string,