@backstage/plugin-auth-backend 0.20.4-next.0 → 0.21.0-next.2

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/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
- /** @public */
246
- type AwsAlbResult = {
247
- fullProfile: Profile;
248
- expiresInSeconds?: number;
249
- accessToken: string;
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.0",
4
+ "version": "0.21.0-next.2",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -32,25 +32,28 @@
32
32
  "clean": "backstage-cli package clean"
33
33
  },
34
34
  "dependencies": {
35
- "@backstage/backend-common": "^0.21.0-next.0",
36
- "@backstage/backend-plugin-api": "^0.6.10-next.0",
37
- "@backstage/catalog-client": "^1.6.0-next.0",
38
- "@backstage/catalog-model": "^1.4.3",
35
+ "@backstage/backend-common": "^0.21.0-next.2",
36
+ "@backstage/backend-plugin-api": "^0.6.10-next.2",
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.0",
42
- "@backstage/plugin-auth-backend-module-gcp-iap-provider": "^0.2.4-next.0",
43
- "@backstage/plugin-auth-backend-module-github-provider": "^0.1.7-next.0",
44
- "@backstage/plugin-auth-backend-module-gitlab-provider": "^0.1.7-next.0",
45
- "@backstage/plugin-auth-backend-module-google-provider": "^0.1.7-next.0",
46
- "@backstage/plugin-auth-backend-module-microsoft-provider": "^0.1.5-next.0",
47
- "@backstage/plugin-auth-backend-module-oauth2-provider": "^0.1.7-next.0",
48
- "@backstage/plugin-auth-backend-module-oauth2-proxy-provider": "^0.1.2-next.0",
49
- "@backstage/plugin-auth-backend-module-oidc-provider": "^0.1.0-next.0",
50
- "@backstage/plugin-auth-backend-module-okta-provider": "^0.0.3-next.0",
51
- "@backstage/plugin-auth-node": "^0.4.4-next.0",
52
- "@backstage/plugin-catalog-node": "^1.6.2-next.0",
41
+ "@backstage/plugin-auth-backend-module-atlassian-provider": "^0.1.2-next.2",
42
+ "@backstage/plugin-auth-backend-module-aws-alb-provider": "^0.1.0-next.1",
43
+ "@backstage/plugin-auth-backend-module-gcp-iap-provider": "^0.2.4-next.2",
44
+ "@backstage/plugin-auth-backend-module-github-provider": "^0.1.7-next.2",
45
+ "@backstage/plugin-auth-backend-module-gitlab-provider": "^0.1.7-next.2",
46
+ "@backstage/plugin-auth-backend-module-google-provider": "^0.1.7-next.2",
47
+ "@backstage/plugin-auth-backend-module-microsoft-provider": "^0.1.5-next.2",
48
+ "@backstage/plugin-auth-backend-module-oauth2-provider": "^0.1.7-next.2",
49
+ "@backstage/plugin-auth-backend-module-oauth2-proxy-provider": "^0.1.2-next.2",
50
+ "@backstage/plugin-auth-backend-module-oidc-provider": "^0.1.0-next.2",
51
+ "@backstage/plugin-auth-backend-module-okta-provider": "^0.0.3-next.2",
52
+ "@backstage/plugin-auth-node": "^0.4.4-next.2",
53
+ "@backstage/plugin-catalog-node": "^1.6.2-next.2",
54
+ "@backstage/types": "^1.1.1",
53
55
  "@google-cloud/firestore": "^7.0.0",
56
+ "@node-saml/passport-saml": "^4.0.4",
54
57
  "@types/express": "^4.17.6",
55
58
  "@types/passport": "^1.0.3",
56
59
  "compression": "^1.7.4",
@@ -63,7 +66,6 @@
63
66
  "fs-extra": "10.1.0",
64
67
  "google-auth-library": "^8.0.0",
65
68
  "jose": "^4.6.0",
66
- "jwt-decode": "^3.1.0",
67
69
  "knex": "^3.0.0",
68
70
  "lodash": "^4.17.21",
69
71
  "luxon": "^3.0.0",
@@ -80,19 +82,17 @@
80
82
  "passport-microsoft": "^1.0.0",
81
83
  "passport-oauth2": "^1.6.1",
82
84
  "passport-onelogin-oauth": "^0.0.1",
83
- "passport-saml": "^3.1.2",
84
85
  "uuid": "^8.0.0",
85
86
  "winston": "^3.2.1",
86
87
  "yn": "^4.0.0"
87
88
  },
88
89
  "devDependencies": {
89
- "@backstage/backend-defaults": "^0.2.10-next.0",
90
- "@backstage/backend-test-utils": "^0.3.0-next.0",
91
- "@backstage/cli": "^0.25.2-next.0",
90
+ "@backstage/backend-defaults": "^0.2.10-next.2",
91
+ "@backstage/backend-test-utils": "^0.3.0-next.2",
92
+ "@backstage/cli": "^0.25.2-next.2",
92
93
  "@types/body-parser": "^1.19.0",
93
94
  "@types/cookie-parser": "^1.4.2",
94
95
  "@types/express-session": "^1.17.2",
95
- "@types/jwt-decode": "^3.1.0",
96
96
  "@types/passport-auth0": "^1.0.5",
97
97
  "@types/passport-github2": "^1.2.4",
98
98
  "@types/passport-google-oauth20": "^2.0.3",