@@ -43,7 +43,7 @@
|
||||
"test": "backstage-cli package test"
|
||||
},
|
||||
"dependencies": {
|
||||
"@backstage/backend-common": "workspace:^",
|
||||
"@backstage/backend-common": "^0.25.0",
|
||||
"@backstage/backend-plugin-api": "workspace:^",
|
||||
"@backstage/catalog-client": "workspace:^",
|
||||
"@backstage/catalog-model": "workspace:^",
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { CacheClient } from '@backstage/backend-common';
|
||||
import {
|
||||
cloudflareAccessSignInResolvers,
|
||||
createCloudflareAccessAuthenticator,
|
||||
@@ -25,6 +24,7 @@ import {
|
||||
} from '@backstage/plugin-auth-node';
|
||||
import { createAuthProviderIntegration } from '../createAuthProviderIntegration';
|
||||
import { AuthHandler } from '../types';
|
||||
import { CacheService } from '@backstage/backend-plugin-api';
|
||||
|
||||
/**
|
||||
* CloudflareAccessClaims
|
||||
@@ -145,10 +145,10 @@ export const cfAccess = createAuthProviderIntegration({
|
||||
};
|
||||
|
||||
/**
|
||||
* CacheClient object that was configured for the Backstage backend,
|
||||
* Cache service object that was configured for the Backstage backend,
|
||||
* should be provided via the backend auth plugin.
|
||||
*/
|
||||
cache?: CacheClient;
|
||||
cache?: CacheService;
|
||||
}) {
|
||||
return createProxyAuthProviderFactory({
|
||||
authenticator: createCloudflareAccessAuthenticator({
|
||||
|
||||
Reference in New Issue
Block a user