move over BackstageSignInResult, BackstageIdentityResponse, BackstageUserIdentity

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2022-02-09 17:10:18 +01:00
parent b3f3e42036
commit 86b40d464f
17 changed files with 149 additions and 122 deletions
@@ -23,11 +23,11 @@ import {
PluginEndpointDiscovery,
} from '@backstage/backend-common';
import { InputError } from '@backstage/errors';
import { IdentityClient } from '@backstage/plugin-auth-backend';
import {
getBearerTokenFromAuthorizationHeader,
BackstageIdentityResponse,
IdentityClient,
} from '@backstage/plugin-auth-backend';
import { getBearerTokenFromAuthorizationHeader } from '@backstage/plugin-auth-node';
} from '@backstage/plugin-auth-node';
import {
AuthorizeResult,
AuthorizeDecision,