@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.
@@ -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