@aooth/auth 0.1.18 → 0.1.20
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/dist/atscript-db.cjs +106 -12
- package/dist/atscript-db.d.cts +85 -8
- package/dist/atscript-db.d.mts +85 -8
- package/dist/atscript-db.mjs +104 -11
- package/dist/authz.cjs +380 -16
- package/dist/authz.d.cts +337 -14
- package/dist/authz.d.mts +337 -14
- package/dist/authz.mjs +366 -12
- package/dist/{auth-code-store-B_m51OSB.cjs → dynamic-client-store-DAStgv2j.cjs} +74 -0
- package/dist/{auth-code-store-Dqc4rEOx.mjs → dynamic-client-store-DLRfntHr.mjs} +63 -1
- package/dist/{auth-code-store-BZ88d_tq.d.cts → dynamic-client-store-DzqdUwnw.d.cts} +112 -1
- package/dist/{auth-code-store-Om5MXNUT.d.mts → dynamic-client-store-oHEsQaJg.d.mts} +112 -1
- package/dist/index.d.cts +4 -2
- package/dist/index.d.mts +4 -2
- package/package.json +19 -9
- package/src/atscript-db/auth-code.as +2 -0
- package/src/atscript-db/auth-code.as.d.ts +3 -0
- package/src/atscript-db/auth-credential.as +40 -14
- package/src/atscript-db/auth-credential.as.d.ts +23 -10
- package/src/atscript-db/dynamic-client.as +44 -0
- package/src/atscript-db/dynamic-client.as.d.ts +59 -0
- package/src/atscript-db/pending-authorization.as +7 -0
- package/src/atscript-db/pending-authorization.as.d.ts +6 -0
|
@@ -15,8 +15,15 @@ export interface AoothPendingAuthorization {
|
|
|
15
15
|
|
|
16
16
|
/** Registered client id (Tier 2); absent for a public/loopback client. */
|
|
17
17
|
clientId?: string
|
|
18
|
+
/**
|
|
19
|
+
* Display name resolved at /authorize (DCR `client_name` or a registered
|
|
20
|
+
* client's label) — untrusted text staged for the consent prompt.
|
|
21
|
+
*/
|
|
22
|
+
clientName?: string
|
|
18
23
|
/** The client's `state`, echoed back on the redirect so it can correlate. */
|
|
19
24
|
clientState?: string
|
|
25
|
+
/** RFC 8707 `resource` indicator (recorded; consistency-checked at /token). */
|
|
26
|
+
resource?: string
|
|
20
27
|
/** Granted scope (space-joined). */
|
|
21
28
|
scope?: string
|
|
22
29
|
/** OIDC `nonce`, echoed into the `id_token` (Tier 2). */
|
|
@@ -18,7 +18,9 @@ export declare class AoothPendingAuthorization {
|
|
|
18
18
|
redirectUri: string
|
|
19
19
|
codeChallenge: string
|
|
20
20
|
clientId?: string
|
|
21
|
+
clientName?: string
|
|
21
22
|
clientState?: string
|
|
23
|
+
resource?: string
|
|
22
24
|
scope?: string
|
|
23
25
|
nonce?: string
|
|
24
26
|
idToken?: boolean
|
|
@@ -41,7 +43,9 @@ export declare class AoothPendingAuthorization {
|
|
|
41
43
|
"redirectUri": string
|
|
42
44
|
"codeChallenge": string
|
|
43
45
|
"clientId"?: string
|
|
46
|
+
"clientName"?: string
|
|
44
47
|
"clientState"?: string
|
|
48
|
+
"resource"?: string
|
|
45
49
|
"scope"?: string
|
|
46
50
|
"nonce"?: string
|
|
47
51
|
"idToken"?: boolean
|
|
@@ -57,7 +61,9 @@ export declare class AoothPendingAuthorization {
|
|
|
57
61
|
"redirectUri": string
|
|
58
62
|
"codeChallenge": string
|
|
59
63
|
"clientId"?: string
|
|
64
|
+
"clientName"?: string
|
|
60
65
|
"clientState"?: string
|
|
66
|
+
"resource"?: string
|
|
61
67
|
"scope"?: string
|
|
62
68
|
"nonce"?: string
|
|
63
69
|
"idToken"?: boolean
|