@backstage/plugin-auth-backend-module-guest-provider 0.0.0-nightly-20240229020904 → 0.0.0-nightly-20240302020838

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +7 -6
  2. package/config.d.ts +42 -0
  3. package/package.json +24 -22
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @backstage/plugin-auth-backend-module-guest-provider
2
2
 
3
- ## 0.0.0-nightly-20240229020904
3
+ ## 0.0.0-nightly-20240302020838
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -26,12 +26,13 @@
26
26
 
27
27
  ### Patch Changes
28
28
 
29
+ - 72dd380: Ensure that the config schema is present
29
30
  - Updated dependencies
30
- - @backstage/backend-common@0.0.0-nightly-20240229020904
31
- - @backstage/plugin-auth-node@0.0.0-nightly-20240229020904
32
- - @backstage/errors@0.0.0-nightly-20240229020904
33
- - @backstage/backend-plugin-api@0.0.0-nightly-20240229020904
34
- - @backstage/catalog-model@0.0.0-nightly-20240229020904
31
+ - @backstage/backend-common@0.0.0-nightly-20240302020838
32
+ - @backstage/plugin-auth-node@0.0.0-nightly-20240302020838
33
+ - @backstage/errors@0.0.0-nightly-20240302020838
34
+ - @backstage/backend-plugin-api@0.0.0-nightly-20240302020838
35
+ - @backstage/catalog-model@0.0.0-nightly-20240302020838
35
36
 
36
37
  ## 0.1.0-next.0
37
38
 
package/config.d.ts ADDED
@@ -0,0 +1,42 @@
1
+ /*
2
+ * Copyright 2024 The Backstage Authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ export interface Config {
18
+ /** Configuration options for the auth plugin */
19
+ auth?: {
20
+ providers: {
21
+ guest?: {
22
+ /**
23
+ * The entity reference to use for the guest user.
24
+ * @default user:development/guest
25
+ */
26
+ userEntityRef?: string;
27
+
28
+ /**
29
+ * A list of entity references to user for ownership of the guest user if the user
30
+ * is not found in the catalog.
31
+ * @default [userEntityRef]
32
+ */
33
+ ownershipEntityRefs?: string[];
34
+
35
+ /**
36
+ * Allow users to sign in with the guest provider outside of their development environments.
37
+ */
38
+ dangerouslyAllowOutsideDevelopment?: boolean;
39
+ };
40
+ };
41
+ };
42
+ }
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@backstage/plugin-auth-backend-module-guest-provider",
3
+ "version": "0.0.0-nightly-20240302020838",
3
4
  "description": "The guest-provider backend module for the auth plugin.",
4
- "version": "0.0.0-nightly-20240229020904",
5
- "main": "dist/index.cjs.js",
6
- "types": "dist/index.d.ts",
7
- "license": "Apache-2.0",
5
+ "backstage": {
6
+ "role": "backend-plugin-module"
7
+ },
8
8
  "publishConfig": {
9
9
  "access": "public",
10
10
  "main": "dist/index.cjs.js",
@@ -15,33 +15,35 @@
15
15
  "url": "https://github.com/backstage/backstage",
16
16
  "directory": "plugins/auth-backend-module-guest-provider"
17
17
  },
18
- "backstage": {
19
- "role": "backend-plugin-module"
20
- },
18
+ "license": "Apache-2.0",
19
+ "main": "dist/index.cjs.js",
20
+ "types": "dist/index.d.ts",
21
+ "files": [
22
+ "dist",
23
+ "config.d.ts"
24
+ ],
21
25
  "scripts": {
22
- "start": "backstage-cli package start",
23
26
  "build": "backstage-cli package build",
24
- "lint": "backstage-cli package lint",
25
- "test": "backstage-cli package test",
26
27
  "clean": "backstage-cli package clean",
28
+ "lint": "backstage-cli package lint",
27
29
  "prepack": "backstage-cli package prepack",
28
- "postpack": "backstage-cli package postpack"
30
+ "postpack": "backstage-cli package postpack",
31
+ "start": "backstage-cli package start",
32
+ "test": "backstage-cli package test"
29
33
  },
30
34
  "dependencies": {
31
- "@backstage/backend-common": "^0.0.0-nightly-20240229020904",
32
- "@backstage/backend-plugin-api": "^0.0.0-nightly-20240229020904",
33
- "@backstage/catalog-model": "^0.0.0-nightly-20240229020904",
34
- "@backstage/errors": "^0.0.0-nightly-20240229020904",
35
- "@backstage/plugin-auth-node": "^0.0.0-nightly-20240229020904",
35
+ "@backstage/backend-common": "^0.0.0-nightly-20240302020838",
36
+ "@backstage/backend-plugin-api": "^0.0.0-nightly-20240302020838",
37
+ "@backstage/catalog-model": "^0.0.0-nightly-20240302020838",
38
+ "@backstage/errors": "^0.0.0-nightly-20240302020838",
39
+ "@backstage/plugin-auth-node": "^0.0.0-nightly-20240302020838",
36
40
  "passport-oauth2": "^1.7.0"
37
41
  },
38
42
  "devDependencies": {
39
- "@backstage/backend-test-utils": "^0.0.0-nightly-20240229020904",
40
- "@backstage/cli": "^0.0.0-nightly-20240229020904",
41
- "@backstage/config": "^0.0.0-nightly-20240229020904",
43
+ "@backstage/backend-test-utils": "^0.0.0-nightly-20240302020838",
44
+ "@backstage/cli": "^0.0.0-nightly-20240302020838",
45
+ "@backstage/config": "^0.0.0-nightly-20240302020838",
42
46
  "express": "^4.18.2"
43
47
  },
44
- "files": [
45
- "dist"
46
- ]
48
+ "configSchema": "config.d.ts"
47
49
  }