@cedarjs/auth-dbauth-setup 7.0.0-canary.3077 → 7.0.0-canary.3078
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.
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { AuthGeneratorCtx } from '@cedarjs/cli-helpers';
|
|
2
2
|
/**
|
|
3
3
|
* The OAuth providers `cedar setup auth dbAuth --oauth` knows how to
|
|
4
|
-
* configure out of the box. Anything else is served by the
|
|
5
|
-
*
|
|
4
|
+
* configure out of the box. Anything else is served by implementing the
|
|
5
|
+
* `OAuthStrategy` interface, documented at
|
|
6
6
|
* https://cedarjs.com/docs/auth/dbauth#oauth-custom-strategies
|
|
7
7
|
*/
|
|
8
8
|
export declare const KNOWN_OAUTH_PROVIDERS: readonly ["google", "github"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth.setupData.d.ts","sourceRoot":"","sources":["../src/oauth.setupData.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAI5D;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,+BAAgC,CAAA;AAElE,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAA;AAMtE;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAC/B,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"oauth.setupData.d.ts","sourceRoot":"","sources":["../src/oauth.setupData.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAI5D;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,+BAAgC,CAAA;AAElE,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAA;AAMtE;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAC/B,iBAAiB,EAAE,CAqCrB;AAGD,eAAO,MAAM,WAAW,UAAsB,CAAA;AAmB9C,eAAO,MAAM,mBAAmB;;gBAEZ,gBAAgB;CAqBnC,CAAA;AAED,eAAO,MAAM,2BAA2B;;gBAEpB,gBAAgB;CAgCnC,CAAA;AAOD,wBAAgB,WAAW,CAAC,SAAS,EAAE,iBAAiB,EAAE,YAWzD;AAuCD,wBAAgB,KAAK,aAkDpB;AAED,wBAAgB,kBAAkB,aAgEjC;AAED,eAAO,MAAM,YAAY,UAMxB,CAAA;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,iBAAiB,EAAE,UA2B/B;AAMD;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAC,SAAS,EAAE,iBAAiB,EAAE;;;EAsBzE"}
|
package/dist/oauth.setupData.js
CHANGED
|
@@ -24,7 +24,7 @@ function parseOAuthProviders(oauth) {
|
|
|
24
24
|
throw new Error(
|
|
25
25
|
`Unknown OAuth provider(s): ${unknownProviders.join(", ")}. Cedar ships built-in support for ${KNOWN_OAUTH_PROVIDERS.join(
|
|
26
26
|
", "
|
|
27
|
-
)}. For any other provider,
|
|
27
|
+
)}. For any other provider, implement the \`OAuthStrategy\` interface from \`@cedarjs/auth-dbauth-oauth\` -- see https://cedarjs.com/docs/auth/dbauth#oauth-custom-strategies`
|
|
28
28
|
);
|
|
29
29
|
}
|
|
30
30
|
return uniqueRequested;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/auth-dbauth-setup",
|
|
3
|
-
"version": "7.0.0-canary.
|
|
3
|
+
"version": "7.0.0-canary.3078",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/cedarjs/cedar.git",
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
"test:watch": "yarn test --watch"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@cedarjs/cli-helpers": "7.0.0-canary.
|
|
27
|
-
"@cedarjs/project-config": "7.0.0-canary.
|
|
26
|
+
"@cedarjs/cli-helpers": "7.0.0-canary.3078",
|
|
27
|
+
"@cedarjs/project-config": "7.0.0-canary.3078",
|
|
28
28
|
"@prisma/internals": "7.10.0",
|
|
29
29
|
"prompts": "2.4.2",
|
|
30
30
|
"termi-link": "1.1.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@cedarjs/framework-tools": "7.0.0-canary.
|
|
33
|
+
"@cedarjs/framework-tools": "7.0.0-canary.3078",
|
|
34
34
|
"@types/yargs": "17.0.35",
|
|
35
35
|
"memfs": "4.68.2",
|
|
36
36
|
"nodemon": "3.1.14",
|