@backstage/plugin-auth-backend 0.22.4 → 0.22.5-next.0

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
@@ -1,11 +1,11 @@
1
1
  import * as _backstage_backend_plugin_api from '@backstage/backend-plugin-api';
2
2
  import { LoggerService, AuthService, HttpAuthService, DiscoveryService } from '@backstage/backend-plugin-api';
3
3
  import express from 'express';
4
+ import * as _backstage_plugin_auth_node from '@backstage/plugin-auth-node';
5
+ import { TokenParams as TokenParams$1, AuthProviderFactory as AuthProviderFactory$1, AuthOwnershipResolver, ProfileInfo as ProfileInfo$1, BackstageSignInResult, OAuthState as OAuthState$1, AuthResolverCatalogUserQuery as AuthResolverCatalogUserQuery$1, AuthResolverContext as AuthResolverContext$1, CookieConfigurer as CookieConfigurer$1, AuthProviderConfig as AuthProviderConfig$1, AuthProviderRouteHandlers as AuthProviderRouteHandlers$1, ClientAuthResponse, SignInInfo as SignInInfo$1, SignInResolver as SignInResolver$1, OAuthEnvironmentHandler as OAuthEnvironmentHandler$1, decodeOAuthState, encodeOAuthState, prepareBackstageIdentityResponse as prepareBackstageIdentityResponse$1, WebMessageResponse as WebMessageResponse$1 } from '@backstage/plugin-auth-node';
4
6
  import { PluginDatabaseManager, PluginEndpointDiscovery, TokenManager } from '@backstage/backend-common';
5
7
  import { CatalogApi } from '@backstage/catalog-client';
6
8
  import { Config } from '@backstage/config';
7
- import * as _backstage_plugin_auth_node from '@backstage/plugin-auth-node';
8
- import { TokenParams as TokenParams$1, AuthProviderFactory as AuthProviderFactory$1, ProfileInfo as ProfileInfo$1, BackstageSignInResult, OAuthState as OAuthState$1, AuthResolverCatalogUserQuery as AuthResolverCatalogUserQuery$1, AuthResolverContext as AuthResolverContext$1, CookieConfigurer as CookieConfigurer$1, AuthProviderConfig as AuthProviderConfig$1, AuthProviderRouteHandlers as AuthProviderRouteHandlers$1, ClientAuthResponse, SignInInfo as SignInInfo$1, SignInResolver as SignInResolver$1, OAuthEnvironmentHandler as OAuthEnvironmentHandler$1, decodeOAuthState, encodeOAuthState, prepareBackstageIdentityResponse as prepareBackstageIdentityResponse$1, WebMessageResponse as WebMessageResponse$1 } from '@backstage/plugin-auth-node';
9
9
  import { Profile } from 'passport';
10
10
  import * as _backstage_plugin_auth_backend_module_aws_alb_provider from '@backstage/plugin-auth-backend-module-aws-alb-provider';
11
11
  import { AwsAlbResult as AwsAlbResult$1 } from '@backstage/plugin-auth-backend-module-aws-alb-provider';
@@ -53,6 +53,7 @@ interface RouterOptions {
53
53
  providerFactories?: ProviderFactories;
54
54
  disableDefaultProviderFactories?: boolean;
55
55
  catalogApi?: CatalogApi;
56
+ ownershipResolver?: AuthOwnershipResolver;
56
57
  }
57
58
  /** @public */
58
59
  declare function createRouter(options: RouterOptions): Promise<express.Router>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-auth-backend",
3
- "version": "0.22.4",
3
+ "version": "0.22.5-next.0",
4
4
  "description": "A Backstage backend plugin that handles authentication",
5
5
  "backstage": {
6
6
  "role": "backend-plugin"
@@ -37,28 +37,28 @@
37
37
  "test": "backstage-cli package test"
38
38
  },
39
39
  "dependencies": {
40
- "@backstage/backend-common": "^0.21.7",
41
- "@backstage/backend-plugin-api": "^0.6.17",
42
- "@backstage/catalog-client": "^1.6.4",
43
- "@backstage/catalog-model": "^1.4.5",
40
+ "@backstage/backend-common": "^0.21.8-next.0",
41
+ "@backstage/backend-plugin-api": "^0.6.18-next.0",
42
+ "@backstage/catalog-client": "^1.6.5-next.0",
43
+ "@backstage/catalog-model": "^1.5.0-next.0",
44
44
  "@backstage/config": "^1.2.0",
45
45
  "@backstage/errors": "^1.2.4",
46
- "@backstage/plugin-auth-backend-module-atlassian-provider": "^0.1.9",
47
- "@backstage/plugin-auth-backend-module-aws-alb-provider": "^0.1.9",
48
- "@backstage/plugin-auth-backend-module-azure-easyauth-provider": "^0.1.0",
49
- "@backstage/plugin-auth-backend-module-bitbucket-provider": "^0.1.0",
50
- "@backstage/plugin-auth-backend-module-cloudflare-access-provider": "^0.1.0",
51
- "@backstage/plugin-auth-backend-module-gcp-iap-provider": "^0.2.12",
52
- "@backstage/plugin-auth-backend-module-github-provider": "^0.1.14",
53
- "@backstage/plugin-auth-backend-module-gitlab-provider": "^0.1.14",
54
- "@backstage/plugin-auth-backend-module-google-provider": "^0.1.14",
55
- "@backstage/plugin-auth-backend-module-microsoft-provider": "^0.1.12",
56
- "@backstage/plugin-auth-backend-module-oauth2-provider": "^0.1.14",
57
- "@backstage/plugin-auth-backend-module-oauth2-proxy-provider": "^0.1.10",
58
- "@backstage/plugin-auth-backend-module-oidc-provider": "^0.1.8",
59
- "@backstage/plugin-auth-backend-module-okta-provider": "^0.0.10",
60
- "@backstage/plugin-auth-node": "^0.4.12",
61
- "@backstage/plugin-catalog-node": "^1.11.1",
46
+ "@backstage/plugin-auth-backend-module-atlassian-provider": "^0.1.10-next.0",
47
+ "@backstage/plugin-auth-backend-module-aws-alb-provider": "^0.1.10-next.0",
48
+ "@backstage/plugin-auth-backend-module-azure-easyauth-provider": "^0.1.1-next.0",
49
+ "@backstage/plugin-auth-backend-module-bitbucket-provider": "^0.1.1-next.0",
50
+ "@backstage/plugin-auth-backend-module-cloudflare-access-provider": "^0.1.1-next.0",
51
+ "@backstage/plugin-auth-backend-module-gcp-iap-provider": "^0.2.13-next.0",
52
+ "@backstage/plugin-auth-backend-module-github-provider": "^0.1.15-next.0",
53
+ "@backstage/plugin-auth-backend-module-gitlab-provider": "^0.1.15-next.0",
54
+ "@backstage/plugin-auth-backend-module-google-provider": "^0.1.15-next.0",
55
+ "@backstage/plugin-auth-backend-module-microsoft-provider": "^0.1.13-next.0",
56
+ "@backstage/plugin-auth-backend-module-oauth2-provider": "^0.1.15-next.0",
57
+ "@backstage/plugin-auth-backend-module-oauth2-proxy-provider": "^0.1.11-next.0",
58
+ "@backstage/plugin-auth-backend-module-oidc-provider": "^0.1.9-next.0",
59
+ "@backstage/plugin-auth-backend-module-okta-provider": "^0.0.11-next.0",
60
+ "@backstage/plugin-auth-node": "^0.4.13-next.0",
61
+ "@backstage/plugin-catalog-node": "^1.11.2-next.0",
62
62
  "@backstage/types": "^1.1.1",
63
63
  "@google-cloud/firestore": "^7.0.0",
64
64
  "@node-saml/passport-saml": "^4.0.4",
@@ -94,9 +94,9 @@
94
94
  "yn": "^4.0.0"
95
95
  },
96
96
  "devDependencies": {
97
- "@backstage/backend-defaults": "^0.2.17",
98
- "@backstage/backend-test-utils": "^0.3.7",
99
- "@backstage/cli": "^0.26.3",
97
+ "@backstage/backend-defaults": "^0.2.18-next.0",
98
+ "@backstage/backend-test-utils": "^0.3.8-next.0",
99
+ "@backstage/cli": "^0.26.5-next.0",
100
100
  "@types/body-parser": "^1.19.0",
101
101
  "@types/cookie-parser": "^1.4.2",
102
102
  "@types/express-session": "^1.17.2",