@backstage/plugin-auth-backend 0.20.4-next.0 → 0.20.4-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/dist/index.cjs.js +32 -185
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +12 -8
- package/package.json +21 -20
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ import { Profile } from 'passport';
|
|
|
7
7
|
import { PluginDatabaseManager, PluginEndpointDiscovery, TokenManager } from '@backstage/backend-common';
|
|
8
8
|
import { CatalogApi } from '@backstage/catalog-client';
|
|
9
9
|
import { Config } from '@backstage/config';
|
|
10
|
+
import * as _backstage_plugin_auth_backend_module_aws_alb_provider from '@backstage/plugin-auth-backend-module-aws-alb-provider';
|
|
11
|
+
import { AwsAlbResult as AwsAlbResult$1 } from '@backstage/plugin-auth-backend-module-aws-alb-provider';
|
|
10
12
|
import * as _backstage_plugin_auth_backend_module_oauth2_proxy_provider from '@backstage/plugin-auth-backend-module-oauth2-proxy-provider';
|
|
11
13
|
import { OAuth2ProxyResult as OAuth2ProxyResult$1 } from '@backstage/plugin-auth-backend-module-oauth2-proxy-provider';
|
|
12
14
|
import * as _backstage_plugin_auth_backend_module_oidc_provider from '@backstage/plugin-auth-backend-module-oidc-provider';
|
|
@@ -242,12 +244,14 @@ type StateEncoder = (req: OAuthStartRequest) => Promise<{
|
|
|
242
244
|
encodedState: string;
|
|
243
245
|
}>;
|
|
244
246
|
|
|
245
|
-
/**
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
247
|
+
/**
|
|
248
|
+
* The result of the initial auth challenge. This is the input to the auth
|
|
249
|
+
* callbacks.
|
|
250
|
+
*
|
|
251
|
+
* @public
|
|
252
|
+
* @deprecated import from `@backstage/plugin-auth-backend-module-aws-alb-provider` instead
|
|
253
|
+
*/
|
|
254
|
+
type AwsAlbResult = AwsAlbResult$1;
|
|
251
255
|
|
|
252
256
|
/** @public */
|
|
253
257
|
type EasyAuthResult = {
|
|
@@ -516,9 +520,9 @@ declare const providers: Readonly<{
|
|
|
516
520
|
}>;
|
|
517
521
|
awsAlb: Readonly<{
|
|
518
522
|
create: (options?: {
|
|
519
|
-
authHandler?: AuthHandler<AwsAlbResult> | undefined;
|
|
523
|
+
authHandler?: AuthHandler<_backstage_plugin_auth_backend_module_aws_alb_provider.AwsAlbResult> | undefined;
|
|
520
524
|
signIn: {
|
|
521
|
-
resolver: SignInResolver<AwsAlbResult>;
|
|
525
|
+
resolver: SignInResolver<_backstage_plugin_auth_backend_module_aws_alb_provider.AwsAlbResult>;
|
|
522
526
|
};
|
|
523
527
|
} | undefined) => _backstage_plugin_auth_node.AuthProviderFactory;
|
|
524
528
|
resolvers: never;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-auth-backend",
|
|
3
3
|
"description": "A Backstage backend plugin that handles authentication",
|
|
4
|
-
"version": "0.20.4-next.
|
|
4
|
+
"version": "0.20.4-next.1",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -32,24 +32,25 @@
|
|
|
32
32
|
"clean": "backstage-cli package clean"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@backstage/backend-common": "^0.21.0-next.
|
|
36
|
-
"@backstage/backend-plugin-api": "^0.6.10-next.
|
|
37
|
-
"@backstage/catalog-client": "^1.6.0-next.
|
|
38
|
-
"@backstage/catalog-model": "^1.4.
|
|
35
|
+
"@backstage/backend-common": "^0.21.0-next.1",
|
|
36
|
+
"@backstage/backend-plugin-api": "^0.6.10-next.1",
|
|
37
|
+
"@backstage/catalog-client": "^1.6.0-next.1",
|
|
38
|
+
"@backstage/catalog-model": "^1.4.4-next.0",
|
|
39
39
|
"@backstage/config": "^1.1.1",
|
|
40
40
|
"@backstage/errors": "^1.2.3",
|
|
41
|
-
"@backstage/plugin-auth-backend-module-atlassian-provider": "^0.1.2-next.
|
|
42
|
-
"@backstage/plugin-auth-backend-module-
|
|
43
|
-
"@backstage/plugin-auth-backend-module-
|
|
44
|
-
"@backstage/plugin-auth-backend-module-
|
|
45
|
-
"@backstage/plugin-auth-backend-module-
|
|
46
|
-
"@backstage/plugin-auth-backend-module-
|
|
47
|
-
"@backstage/plugin-auth-backend-module-
|
|
48
|
-
"@backstage/plugin-auth-backend-module-oauth2-
|
|
49
|
-
"@backstage/plugin-auth-backend-module-
|
|
50
|
-
"@backstage/plugin-auth-backend-module-
|
|
51
|
-
"@backstage/plugin-auth-
|
|
52
|
-
"@backstage/plugin-
|
|
41
|
+
"@backstage/plugin-auth-backend-module-atlassian-provider": "^0.1.2-next.1",
|
|
42
|
+
"@backstage/plugin-auth-backend-module-aws-alb-provider": "^0.1.0-next.0",
|
|
43
|
+
"@backstage/plugin-auth-backend-module-gcp-iap-provider": "^0.2.4-next.1",
|
|
44
|
+
"@backstage/plugin-auth-backend-module-github-provider": "^0.1.7-next.1",
|
|
45
|
+
"@backstage/plugin-auth-backend-module-gitlab-provider": "^0.1.7-next.1",
|
|
46
|
+
"@backstage/plugin-auth-backend-module-google-provider": "^0.1.7-next.1",
|
|
47
|
+
"@backstage/plugin-auth-backend-module-microsoft-provider": "^0.1.5-next.1",
|
|
48
|
+
"@backstage/plugin-auth-backend-module-oauth2-provider": "^0.1.7-next.1",
|
|
49
|
+
"@backstage/plugin-auth-backend-module-oauth2-proxy-provider": "^0.1.2-next.1",
|
|
50
|
+
"@backstage/plugin-auth-backend-module-oidc-provider": "^0.1.0-next.1",
|
|
51
|
+
"@backstage/plugin-auth-backend-module-okta-provider": "^0.0.3-next.1",
|
|
52
|
+
"@backstage/plugin-auth-node": "^0.4.4-next.1",
|
|
53
|
+
"@backstage/plugin-catalog-node": "^1.6.2-next.1",
|
|
53
54
|
"@google-cloud/firestore": "^7.0.0",
|
|
54
55
|
"@types/express": "^4.17.6",
|
|
55
56
|
"@types/passport": "^1.0.3",
|
|
@@ -86,9 +87,9 @@
|
|
|
86
87
|
"yn": "^4.0.0"
|
|
87
88
|
},
|
|
88
89
|
"devDependencies": {
|
|
89
|
-
"@backstage/backend-defaults": "^0.2.10-next.
|
|
90
|
-
"@backstage/backend-test-utils": "^0.3.0-next.
|
|
91
|
-
"@backstage/cli": "^0.25.2-next.
|
|
90
|
+
"@backstage/backend-defaults": "^0.2.10-next.1",
|
|
91
|
+
"@backstage/backend-test-utils": "^0.3.0-next.1",
|
|
92
|
+
"@backstage/cli": "^0.25.2-next.1",
|
|
92
93
|
"@types/body-parser": "^1.19.0",
|
|
93
94
|
"@types/cookie-parser": "^1.4.2",
|
|
94
95
|
"@types/express-session": "^1.17.2",
|