@aooth/auth 0.1.60 → 0.1.62

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aooth/auth",
3
- "version": "0.1.60",
3
+ "version": "0.1.62",
4
4
  "description": "Auth method layer for aoothjs (sessions, tokens, password reset, MFA primitives)",
5
5
  "keywords": [
6
6
  "aoothjs",
@@ -104,18 +104,18 @@
104
104
  },
105
105
  "dependencies": {
106
106
  "jose": "^6.2.3",
107
- "@aooth/user": "0.1.60"
107
+ "@aooth/user": "0.1.62"
108
108
  },
109
109
  "devDependencies": {
110
- "@atscript/core": "^0.1.88",
111
- "@atscript/db": "^0.1.126",
112
- "@atscript/db-sql-tools": "^0.1.126",
113
- "@atscript/db-sqlite": "^0.1.126",
114
- "@atscript/typescript": "^0.1.88",
110
+ "@atscript/core": "^0.1.93",
111
+ "@atscript/db": "^0.1.129",
112
+ "@atscript/db-sql-tools": "^0.1.129",
113
+ "@atscript/db-sqlite": "^0.1.129",
114
+ "@atscript/typescript": "^0.1.93",
115
115
  "@types/better-sqlite3": "^7.6.13",
116
116
  "better-sqlite3": "^12.6.2",
117
117
  "ioredis": "^5.11.1",
118
- "unplugin-atscript": "^0.1.88"
118
+ "unplugin-atscript": "^0.1.93"
119
119
  },
120
120
  "peerDependencies": {
121
121
  "@atscript/db": ">=0.1.79"
@@ -40,13 +40,13 @@ export declare class AoothAuthCode {
40
40
  "userId": string
41
41
  "codeChallenge": string
42
42
  "redirectUri": string
43
- "clientId"?: string
44
- "scope"?: string
45
- "resource"?: string
46
- "nonce"?: string
47
- "idToken"?: boolean
48
- "accessToken"?: boolean
49
- "audience"?: string
43
+ "clientId"?: string | null
44
+ "scope"?: string | null
45
+ "resource"?: string | null
46
+ "nonce"?: string | null
47
+ "idToken"?: boolean | null
48
+ "accessToken"?: boolean | null
49
+ "audience"?: string | null
50
50
  "tokenPolicy": string
51
51
  "expiresAt": number /* timestamp */
52
52
  }
@@ -55,13 +55,13 @@ export declare class AoothAuthCode {
55
55
  "userId": string
56
56
  "codeChallenge": string
57
57
  "redirectUri": string
58
- "clientId"?: string
59
- "scope"?: string
60
- "resource"?: string
61
- "nonce"?: string
62
- "idToken"?: boolean
63
- "accessToken"?: boolean
64
- "audience"?: string
58
+ "clientId"?: string | null
59
+ "scope"?: string | null
60
+ "resource"?: string | null
61
+ "nonce"?: string | null
62
+ "idToken"?: boolean | null
63
+ "accessToken"?: boolean | null
64
+ "audience"?: string | null
65
65
  "tokenPolicy": string
66
66
  "expiresAt": number /* timestamp */
67
67
  }
@@ -68,24 +68,24 @@ export declare class AoothAuthCredential {
68
68
  "userId": string
69
69
  "issuedAt": number /* timestamp */
70
70
  "expiresAt": number /* timestamp */
71
- "kind"?: string
72
- "parentCredentialId"?: string
73
- "rotatedAt"?: number /* timestamp */
74
- "successor"?: string
75
- "sessionId"?: string
76
- "lastSeenAt"?: number /* timestamp */
71
+ "kind"?: string | null
72
+ "parentCredentialId"?: string | null
73
+ "rotatedAt"?: number /* timestamp */ | null
74
+ "successor"?: string | null
75
+ "sessionId"?: string | null
76
+ "lastSeenAt"?: number /* timestamp */ | null
77
77
  }
78
78
  static __ownProps: {
79
79
  "token": string
80
80
  "userId": string
81
81
  "issuedAt": number /* timestamp */
82
82
  "expiresAt": number /* timestamp */
83
- "kind"?: string
84
- "parentCredentialId"?: string
85
- "rotatedAt"?: number /* timestamp */
86
- "successor"?: string
87
- "sessionId"?: string
88
- "lastSeenAt"?: number /* timestamp */
83
+ "kind"?: string | null
84
+ "parentCredentialId"?: string | null
85
+ "rotatedAt"?: number /* timestamp */ | null
86
+ "successor"?: string | null
87
+ "sessionId"?: string | null
88
+ "lastSeenAt"?: number /* timestamp */ | null
89
89
  }
90
90
 
91
91
  static __pk: string
@@ -34,27 +34,27 @@ export declare class AoothDynamicClient {
34
34
  static toExampleData?: () => any
35
35
  static __flat: {
36
36
  "clientId": string
37
- "clientName"?: string
37
+ "clientName"?: string | null
38
38
  "redirectUris": string
39
39
  "tokenEndpointAuthMethod": string
40
- "clientSecretHash"?: string
40
+ "clientSecretHash"?: string | null
41
41
  "grantTypes": string
42
42
  "responseTypes": string
43
- "scope"?: string
43
+ "scope"?: string | null
44
44
  "createdAt": number /* timestamp */
45
- "lastUsedAt"?: number /* timestamp */
45
+ "lastUsedAt"?: number /* timestamp */ | null
46
46
  }
47
47
  static __ownProps: {
48
48
  "clientId": string
49
- "clientName"?: string
49
+ "clientName"?: string | null
50
50
  "redirectUris": string
51
51
  "tokenEndpointAuthMethod": string
52
- "clientSecretHash"?: string
52
+ "clientSecretHash"?: string | null
53
53
  "grantTypes": string
54
54
  "responseTypes": string
55
- "scope"?: string
55
+ "scope"?: string | null
56
56
  "createdAt": number /* timestamp */
57
- "lastUsedAt"?: number /* timestamp */
57
+ "lastUsedAt"?: number /* timestamp */ | null
58
58
  }
59
59
 
60
60
  static __pk: string
@@ -42,15 +42,15 @@ export declare class AoothPendingAuthorization {
42
42
  "handle": string
43
43
  "redirectUri": string
44
44
  "codeChallenge": string
45
- "clientId"?: string
46
- "clientName"?: string
47
- "clientState"?: string
48
- "resource"?: string
49
- "scope"?: string
50
- "nonce"?: string
51
- "idToken"?: boolean
52
- "accessToken"?: boolean
53
- "audience"?: string
45
+ "clientId"?: string | null
46
+ "clientName"?: string | null
47
+ "clientState"?: string | null
48
+ "resource"?: string | null
49
+ "scope"?: string | null
50
+ "nonce"?: string | null
51
+ "idToken"?: boolean | null
52
+ "accessToken"?: boolean | null
53
+ "audience"?: string | null
54
54
  "tokenPolicy": string
55
55
  "binding": string
56
56
  "createdAt": number /* timestamp */
@@ -60,15 +60,15 @@ export declare class AoothPendingAuthorization {
60
60
  "handle": string
61
61
  "redirectUri": string
62
62
  "codeChallenge": string
63
- "clientId"?: string
64
- "clientName"?: string
65
- "clientState"?: string
66
- "resource"?: string
67
- "scope"?: string
68
- "nonce"?: string
69
- "idToken"?: boolean
70
- "accessToken"?: boolean
71
- "audience"?: string
63
+ "clientId"?: string | null
64
+ "clientName"?: string | null
65
+ "clientState"?: string | null
66
+ "resource"?: string | null
67
+ "scope"?: string | null
68
+ "nonce"?: string | null
69
+ "idToken"?: boolean | null
70
+ "accessToken"?: boolean | null
71
+ "audience"?: string | null
72
72
  "tokenPolicy": string
73
73
  "binding": string
74
74
  "createdAt": number /* timestamp */