feat(catalog): add placeholder for identity API implementation

This commit is contained in:
Nikita Nek Dudnik
2020-06-16 11:05:17 +02:00
parent 806790ea89
commit 3b19d7f37a
8 changed files with 55 additions and 3 deletions
+4
View File
@@ -11,6 +11,8 @@ import {
ErrorAlerter,
GoogleAuth,
GithubAuth,
identityApiRef,
MockIdentity,
} from '@backstage/core';
const builder = ApiRegistry.builder();
@@ -19,6 +21,8 @@ const alertApi = builder.add(alertApiRef, new AlertApiForwarder());
builder.add(errorApiRef, new ErrorAlerter(alertApi, new ErrorApiForwarder()));
builder.add(identityApiRef, new MockIdentity());
const oauthRequestApi = builder.add(
oauthRequestApiRef,
new OAuthRequestManager(),