Merge pull request #22004 from awanlin/topic/update-auth-module-default
Updated auth module default export
This commit is contained in:
@@ -10,9 +10,13 @@ import { PassportOAuthAuthenticatorHelper } from '@backstage/plugin-auth-node';
|
||||
import { PassportProfile } from '@backstage/plugin-auth-node';
|
||||
import { SignInResolverFactory } from '@backstage/plugin-auth-node';
|
||||
|
||||
// @public (undocumented)
|
||||
// @public @deprecated (undocumented)
|
||||
export const authModuleMicrosoftProvider: () => BackendFeature;
|
||||
|
||||
// @public (undocumented)
|
||||
const authModuleMicrosoftProvider_2: () => BackendFeature;
|
||||
export default authModuleMicrosoftProvider_2;
|
||||
|
||||
// @public (undocumented)
|
||||
export const microsoftAuthenticator: OAuthAuthenticator<
|
||||
{
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* 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 const authModuleMicrosoftProvider =
|
||||
deprecatedAuthModuleMicrosoftProvider;
|
||||
@@ -21,5 +21,6 @@
|
||||
*/
|
||||
|
||||
export { microsoftAuthenticator } from './authenticator';
|
||||
export { authModuleMicrosoftProvider } from './module';
|
||||
export { authModuleMicrosoftProvider as default } from './module';
|
||||
export { microsoftSignInResolvers } from './resolvers';
|
||||
export * from './deprecated';
|
||||
|
||||
@@ -10,9 +10,13 @@ import { OAuthAuthenticator } from '@backstage/plugin-auth-node';
|
||||
import { Strategy } from 'openid-client';
|
||||
import { TokenSet } from 'openid-client';
|
||||
|
||||
// @public (undocumented)
|
||||
// @public @deprecated (undocumented)
|
||||
export const authModulePinnipedProvider: () => BackendFeature;
|
||||
|
||||
// @public (undocumented)
|
||||
const authModulePinnipedProvider_2: () => BackendFeature;
|
||||
export default authModulePinnipedProvider_2;
|
||||
|
||||
// @public (undocumented)
|
||||
export const pinnipedAuthenticator: OAuthAuthenticator<
|
||||
PinnipedStrategyCache,
|
||||
|
||||
@@ -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 const authModulePinnipedProvider = deprecatedAuthModulePinnipedProvider;
|
||||
@@ -21,4 +21,5 @@
|
||||
*/
|
||||
|
||||
export { pinnipedAuthenticator, PinnipedStrategyCache } from './authenticator';
|
||||
export { authModulePinnipedProvider } from './module';
|
||||
export { authModulePinnipedProvider as default } from './module';
|
||||
export * from './deprecated';
|
||||
|
||||
Reference in New Issue
Block a user