@gasboost/auth 0.1.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/README.md +484 -0
- package/dist/AppsScriptAuth.d.ts +51 -0
- package/dist/AppsScriptAuth.js +77 -0
- package/dist/AuthPattern.d.ts +5 -0
- package/dist/AuthPattern.js +4 -0
- package/dist/api/AppsScriptAuthPassword.d.ts +30 -0
- package/dist/api/AppsScriptAuthPassword.js +64 -0
- package/dist/api/AppsScriptAuthSession.d.ts +10 -0
- package/dist/api/AppsScriptAuthSession.js +17 -0
- package/dist/api/AppsScriptAuthSignIn.d.ts +20 -0
- package/dist/api/AppsScriptAuthSignIn.js +34 -0
- package/dist/api/AppsScriptAuthSignOut.d.ts +7 -0
- package/dist/api/AppsScriptAuthSignOut.js +9 -0
- package/dist/api/AppsScriptAuthSignUp.d.ts +20 -0
- package/dist/api/AppsScriptAuthSignUp.js +35 -0
- package/dist/api/SignIn.d.ts +19 -0
- package/dist/api/SignIn.js +26 -0
- package/dist/api/SignUp.d.ts +20 -0
- package/dist/api/SignUp.js +25 -0
- package/dist/authentication/AppsScriptAuthentication.d.ts +24 -0
- package/dist/authentication/AppsScriptAuthentication.js +47 -0
- package/dist/authentication/Authentication.d.ts +4 -0
- package/dist/authentication/Authentication.js +1 -0
- package/dist/authentication/EmailPasswordAuthentication.d.ts +42 -0
- package/dist/authentication/EmailPasswordAuthentication.js +75 -0
- package/dist/domain/Account.d.ts +11 -0
- package/dist/domain/Account.js +10 -0
- package/dist/domain/Errors.d.ts +3 -0
- package/dist/domain/Errors.js +5 -0
- package/dist/domain/Password.d.ts +15 -0
- package/dist/domain/Password.js +54 -0
- package/dist/domain/PasswordCredential.d.ts +25 -0
- package/dist/domain/PasswordCredential.js +57 -0
- package/dist/domain/PasswordReset.d.ts +25 -0
- package/dist/domain/PasswordReset.js +44 -0
- package/dist/domain/PasswordResetToken.d.ts +6 -0
- package/dist/domain/PasswordResetToken.js +17 -0
- package/dist/domain/Session.d.ts +14 -0
- package/dist/domain/Session.js +15 -0
- package/dist/domain/User.d.ts +13 -0
- package/dist/domain/User.js +13 -0
- package/dist/factory/sessionStorageFactory.d.ts +6 -0
- package/dist/factory/sessionStorageFactory.js +11 -0
- package/dist/identity/AppsScriptIdentity.d.ts +8 -0
- package/dist/identity/AppsScriptIdentity.js +8 -0
- package/dist/identity/EmailPasswordIdentity.d.ts +13 -0
- package/dist/identity/EmailPasswordIdentity.js +19 -0
- package/dist/identity/ProviderIdentity.d.ts +5 -0
- package/dist/identity/ProviderIdentity.js +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +10 -0
- package/dist/registration/AppsScriptRegistration.d.ts +13 -0
- package/dist/registration/AppsScriptRegistration.js +46 -0
- package/dist/registration/EmailPasswordRegistration.d.ts +16 -0
- package/dist/registration/EmailPasswordRegistration.js +41 -0
- package/dist/registration/Registration.d.ts +4 -0
- package/dist/registration/Registration.js +1 -0
- package/dist/schema/AuthSchema.d.ts +64 -0
- package/dist/schema/AuthSchema.js +35 -0
- package/dist/storage/AppsScriptAuthRepository.d.ts +17 -0
- package/dist/storage/AppsScriptAuthRepository.js +1 -0
- package/dist/storage/AppsScriptCacheSessionStorage.d.ts +10 -0
- package/dist/storage/AppsScriptCacheSessionStorage.js +30 -0
- package/dist/storage/AppsScriptPropertiesSessionStorage.d.ts +11 -0
- package/dist/storage/AppsScriptPropertiesSessionStorage.js +51 -0
- package/dist/storage/AppsScriptSessionStorage.d.ts +7 -0
- package/dist/storage/AppsScriptSessionStorage.js +1 -0
- package/package.json +55 -0
package/package.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@gasboost/auth",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Modern authentication for Google Apps Script with email/password, Apps Script authentication, sessions, and password reset.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"google-apps-script",
|
|
7
|
+
"gas",
|
|
8
|
+
"authentication",
|
|
9
|
+
"auth",
|
|
10
|
+
"typescript",
|
|
11
|
+
"email-password",
|
|
12
|
+
"session",
|
|
13
|
+
"password-reset",
|
|
14
|
+
"gasboost"
|
|
15
|
+
],
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"main": "./dist/index.js",
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"files": [
|
|
20
|
+
"dist",
|
|
21
|
+
"README.md"
|
|
22
|
+
],
|
|
23
|
+
"exports": {
|
|
24
|
+
".": {
|
|
25
|
+
"default": "./dist/index.js",
|
|
26
|
+
"types": "./dist/index.d.ts"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"repository": {
|
|
30
|
+
"type": "git",
|
|
31
|
+
"url": "https://github.com/gasboost/auth.git",
|
|
32
|
+
"directory": "packages/auth-core"
|
|
33
|
+
},
|
|
34
|
+
"bugs": {
|
|
35
|
+
"url": "https://github.com/gasboost/auth/issues"
|
|
36
|
+
},
|
|
37
|
+
"homepage": "https://github.com/gasboost/auth#readme",
|
|
38
|
+
"publishConfig": {
|
|
39
|
+
"access": "public"
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"@gasboost/app": "^1.3.0",
|
|
43
|
+
"@gasboost/fake-core": "^0.1.2",
|
|
44
|
+
"@gasboost/fake-node": "^0.1.2",
|
|
45
|
+
"@types/google-apps-script": "^2.0.13"
|
|
46
|
+
},
|
|
47
|
+
"scripts": {
|
|
48
|
+
"format": "prettier --check . --config ../../.prettierrc.json --ignore-path ../../.prettierignore",
|
|
49
|
+
"format:fix": "prettier --write . --config ../../.prettierrc.json --ignore-path ../../.prettierignore",
|
|
50
|
+
"lint": "eslint . --config ../../eslint.config.mjs",
|
|
51
|
+
"typecheck": "tsc --noEmit",
|
|
52
|
+
"test": "vitest run",
|
|
53
|
+
"build": "rm -rf dist && tsc -p tsconfig.build.json"
|
|
54
|
+
}
|
|
55
|
+
}
|