@treeseed/sdk 0.13.0-rc.44 → 0.13.0-rc.45
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.
|
@@ -71,6 +71,16 @@ export interface OAuthDeviceAuthorizationResponse {
|
|
|
71
71
|
expiresIn: number;
|
|
72
72
|
interval: number;
|
|
73
73
|
}
|
|
74
|
+
/** Safe browser presentation of a pending device grant. It never contains the device code. */
|
|
75
|
+
export interface OAuthDeviceApprovalPresentation {
|
|
76
|
+
schemaVersion: 'treeseed.oauth.device-approval-presentation/v1';
|
|
77
|
+
clientId: string;
|
|
78
|
+
clientName: string;
|
|
79
|
+
userCode: string;
|
|
80
|
+
scopes: OAuthScope[];
|
|
81
|
+
expiresAt: string;
|
|
82
|
+
status: 'pending';
|
|
83
|
+
}
|
|
74
84
|
export interface OAuthTokenReceipt {
|
|
75
85
|
tokenType: 'Bearer';
|
|
76
86
|
accessToken: string;
|