@backstage/plugin-auth-backend 0.13.1-next.2 → 0.14.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/CHANGELOG.md +38 -0
- package/dist/index.cjs.js +9 -12
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -2
- package/package.json +9 -9
package/dist/index.d.ts
CHANGED
|
@@ -473,7 +473,6 @@ declare class OAuthEnvironmentHandler implements AuthProviderRouteHandlers {
|
|
|
473
473
|
declare type Options = {
|
|
474
474
|
providerId: string;
|
|
475
475
|
secure: boolean;
|
|
476
|
-
disableRefresh?: boolean;
|
|
477
476
|
persistScopes?: boolean;
|
|
478
477
|
cookieDomain: string;
|
|
479
478
|
cookiePath: string;
|
|
@@ -486,7 +485,7 @@ declare type Options = {
|
|
|
486
485
|
declare class OAuthAdapter implements AuthProviderRouteHandlers {
|
|
487
486
|
private readonly handlers;
|
|
488
487
|
private readonly options;
|
|
489
|
-
static fromConfig(config: AuthProviderConfig, handlers: OAuthHandlers, options: Pick<Options, 'providerId' | 'persistScopes' | '
|
|
488
|
+
static fromConfig(config: AuthProviderConfig, handlers: OAuthHandlers, options: Pick<Options, 'providerId' | 'persistScopes' | 'tokenIssuer' | 'callbackUrl'>): OAuthAdapter;
|
|
490
489
|
private readonly baseCookieOptions;
|
|
491
490
|
constructor(handlers: OAuthHandlers, options: Options);
|
|
492
491
|
start(req: express.Request, res: express.Response): Promise<void>;
|
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.
|
|
4
|
+
"version": "0.14.0",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
"clean": "backstage-cli package clean"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@backstage/backend-common": "^0.13.3
|
|
37
|
-
"@backstage/catalog-client": "^1.0.2
|
|
38
|
-
"@backstage/catalog-model": "^1.0.2
|
|
39
|
-
"@backstage/config": "^1.0.1
|
|
36
|
+
"@backstage/backend-common": "^0.13.3",
|
|
37
|
+
"@backstage/catalog-client": "^1.0.2",
|
|
38
|
+
"@backstage/catalog-model": "^1.0.2",
|
|
39
|
+
"@backstage/config": "^1.0.1",
|
|
40
40
|
"@backstage/errors": "^1.0.0",
|
|
41
|
-
"@backstage/plugin-auth-node": "^0.2.1
|
|
41
|
+
"@backstage/plugin-auth-node": "^0.2.1",
|
|
42
42
|
"@backstage/types": "^1.0.0",
|
|
43
43
|
"@google-cloud/firestore": "^5.0.2",
|
|
44
44
|
"@types/express": "^4.17.6",
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
"yn": "^4.0.0"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
|
-
"@backstage/backend-test-utils": "^0.1.24
|
|
80
|
-
"@backstage/cli": "^0.17.1
|
|
79
|
+
"@backstage/backend-test-utils": "^0.1.24",
|
|
80
|
+
"@backstage/cli": "^0.17.1",
|
|
81
81
|
"@types/body-parser": "^1.19.0",
|
|
82
82
|
"@types/cookie-parser": "^1.4.2",
|
|
83
83
|
"@types/express-session": "^1.17.2",
|
|
@@ -97,5 +97,5 @@
|
|
|
97
97
|
"config.d.ts"
|
|
98
98
|
],
|
|
99
99
|
"configSchema": "config.d.ts",
|
|
100
|
-
"gitHead": "
|
|
100
|
+
"gitHead": "96323f280ba32ee526c5b151cda42260aee927c9"
|
|
101
101
|
}
|