Updated so a breaking change is not needed
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-auth-backend-module-pinniped-provider': minor
|
||||
'@backstage/plugin-auth-backend-module-pinniped-provider': patch
|
||||
---
|
||||
|
||||
**BREAKING** The `authModulePinnipedProvider` is now the default export and should be used like this in your backend: `backend.add(import('@backstage/plugin-auth-backend-module-pinniped-provider'));`
|
||||
Deprecated the `authModulePinnipedProvider` export. A default export is now available and should be used like this in your backend: `backend.add(import('@backstage/plugin-auth-backend-module-pinniped-provider'));`
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-auth-backend-module-microsoft-provider': minor
|
||||
'@backstage/plugin-auth-backend-module-microsoft-provider': patch
|
||||
---
|
||||
|
||||
**BREAKING** The `authModuleMicrosoftProvider` is now the default export and should be used like this in your backend: `backend.add(import('@backstage/plugin-auth-backend-module-microsoft-provider'));`
|
||||
Deprecated the `authModuleMicrosoftProvider` export. A default export is now available and should be used like this in your backend: `backend.add(import('@backstage/plugin-auth-backend-module-microsoft-provider'));`
|
||||
|
||||
@@ -11,7 +11,9 @@ import { PassportProfile } from '@backstage/plugin-auth-node';
|
||||
import { SignInResolverFactory } from '@backstage/plugin-auth-node';
|
||||
|
||||
// @public (undocumented)
|
||||
export const authModuleMicrosoftProvider: () => BackendFeature;
|
||||
const authModuleMicrosoftProvider: () => BackendFeature;
|
||||
export { authModuleMicrosoftProvider };
|
||||
export default authModuleMicrosoftProvider;
|
||||
|
||||
// @public (undocumented)
|
||||
export const microsoftAuthenticator: OAuthAuthenticator<
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Copyright 2023 The Backstage Authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { authModuleMicrosoftProvider as deprecatedAuthModuleMicrosoftProvider } from './module';
|
||||
|
||||
/**
|
||||
* @public
|
||||
* @deprecated Use default import instead
|
||||
*/
|
||||
export { deprecatedAuthModuleMicrosoftProvider as authModuleMicrosoftProvider };
|
||||
@@ -23,3 +23,4 @@
|
||||
export { microsoftAuthenticator } from './authenticator';
|
||||
export { authModuleMicrosoftProvider as default } from './module';
|
||||
export { microsoftSignInResolvers } from './resolvers';
|
||||
export * from './deprecated';
|
||||
|
||||
@@ -11,7 +11,9 @@ import { Strategy } from 'openid-client';
|
||||
import { TokenSet } from 'openid-client';
|
||||
|
||||
// @public (undocumented)
|
||||
export const authModulePinnipedProvider: () => BackendFeature;
|
||||
const authModulePinnipedProvider: () => BackendFeature;
|
||||
export { authModulePinnipedProvider };
|
||||
export default authModulePinnipedProvider;
|
||||
|
||||
// @public (undocumented)
|
||||
export const pinnipedAuthenticator: OAuthAuthenticator<
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Copyright 2023 The Backstage Authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { authModulePinnipedProvider as deprecatedAuthModulePinnipedProvider } from './module';
|
||||
|
||||
/**
|
||||
* @public
|
||||
* @deprecated Use default import instead
|
||||
*/
|
||||
export { deprecatedAuthModulePinnipedProvider as authModulePinnipedProvider };
|
||||
@@ -22,3 +22,4 @@
|
||||
|
||||
export { pinnipedAuthenticator, PinnipedStrategyCache } from './authenticator';
|
||||
export { authModulePinnipedProvider as default } from './module';
|
||||
export * from './deprecated';
|
||||
|
||||
Reference in New Issue
Block a user