@liflig/cdk-cloudfront-auth 1.0.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/LICENSE +21 -0
- package/README.md +63 -0
- package/dist/check-auth/index.js +2 -0
- package/dist/check-auth/index.js.LICENSE.txt +17 -0
- package/dist/generate-secret/index.js +1 -0
- package/dist/http-headers/index.js +2 -0
- package/dist/http-headers/index.js.LICENSE.txt +6 -0
- package/dist/parse-auth/index.js +2 -0
- package/dist/parse-auth/index.js.LICENSE.txt +31 -0
- package/dist/refresh-auth/index.js +2 -0
- package/dist/refresh-auth/index.js.LICENSE.txt +31 -0
- package/dist/sign-out/index.js +2 -0
- package/dist/sign-out/index.js.LICENSE.txt +17 -0
- package/lib/client-secret.d.ts +10 -0
- package/lib/client-secret.js +54 -0
- package/lib/client-update.d.ts +14 -0
- package/lib/client-update.js +59 -0
- package/lib/cloudfront-auth.d.ts +132 -0
- package/lib/cloudfront-auth.js +267 -0
- package/lib/generate-secret.d.ts +15 -0
- package/lib/generate-secret.js +71 -0
- package/lib/handlers/check-auth.d.ts +7 -0
- package/lib/handlers/generate-secret.d.ts +9 -0
- package/lib/handlers/http-headers.d.ts +1 -0
- package/lib/handlers/parse-auth.d.ts +1 -0
- package/lib/handlers/refresh-auth.d.ts +1 -0
- package/lib/handlers/sign-out.d.ts +1 -0
- package/lib/handlers/util/axios.d.ts +4 -0
- package/lib/handlers/util/axios.js +42 -0
- package/lib/handlers/util/base64.d.ts +8 -0
- package/lib/handlers/util/base64.js +26 -0
- package/lib/handlers/util/cloudfront.d.ts +17 -0
- package/lib/handlers/util/cloudfront.js +102 -0
- package/lib/handlers/util/config.d.ts +26 -0
- package/lib/handlers/util/config.js +48 -0
- package/lib/handlers/util/cookies.d.ts +29 -0
- package/lib/handlers/util/cookies.js +115 -0
- package/lib/handlers/util/jwt.d.ts +17 -0
- package/lib/handlers/util/jwt.js +59 -0
- package/lib/handlers/util/logger.d.ts +16 -0
- package/lib/handlers/util/logger.js +55 -0
- package/lib/handlers/util/nonce.d.ts +9 -0
- package/lib/handlers/util/nonce.js +47 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +19 -0
- package/lib/lambdas.d.ts +33 -0
- package/lib/lambdas.js +88 -0
- package/package.json +75 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* cookie
|
|
3
|
+
* Copyright(c) 2012-2014 Roman Shtylman
|
|
4
|
+
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
5
|
+
* MIT Licensed
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/*!
|
|
9
|
+
* mime-db
|
|
10
|
+
* Copyright(c) 2014 Jonathan Ong
|
|
11
|
+
* Copyright(c) 2015-2022 Douglas Christopher Wilson
|
|
12
|
+
* MIT Licensed
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/*!
|
|
16
|
+
* mime-types
|
|
17
|
+
* Copyright(c) 2014 Jonathan Ong
|
|
18
|
+
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
19
|
+
* MIT Licensed
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @license
|
|
26
|
+
* Lodash <https://lodash.com/>
|
|
27
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
28
|
+
* Released under MIT license <https://lodash.com/license>
|
|
29
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
30
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
31
|
+
*/
|