@tennantje/identity-types 1.0.13 → 1.0.16
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/OAuth.d.ts +8 -12
- package/package.json +1 -1
package/dist/OAuth.d.ts
CHANGED
|
@@ -1,27 +1,23 @@
|
|
|
1
|
-
export type CreateOAuthClientRequest = {
|
|
2
|
-
clientName: string;
|
|
3
|
-
clientType: "CONFIDENTIAL_CLIENT" | "PUBLIC_CLIENT";
|
|
4
|
-
redirectUris: string[];
|
|
5
|
-
scopes: string[];
|
|
6
|
-
clientDescription: string;
|
|
7
|
-
clientWebsite: string;
|
|
8
|
-
clientLogoUri: string;
|
|
9
|
-
};
|
|
10
1
|
export interface OAuthClient {
|
|
11
2
|
clientId: string;
|
|
12
3
|
clientName: string;
|
|
13
4
|
clientType: "CONFIDENTIAL_CLIENT" | "PUBLIC_CLIENT";
|
|
14
5
|
scopes: string[];
|
|
15
6
|
redirectUris: string[];
|
|
7
|
+
clientDescription: string;
|
|
8
|
+
clientWebsite: string;
|
|
9
|
+
clientTermsOfService: string;
|
|
10
|
+
clientPrivacyPolicy: string;
|
|
11
|
+
clientLogoUri: string;
|
|
16
12
|
createdAt: string;
|
|
17
13
|
createdBy: string;
|
|
18
14
|
modifiedAt: string;
|
|
19
15
|
modifiedBy: string;
|
|
20
|
-
clientDescription: string;
|
|
21
|
-
clientWebsite: string;
|
|
22
|
-
clientLogoUri: string;
|
|
23
16
|
}
|
|
17
|
+
export type CreateOAuthClientRequest = Omit<OAuthClient, "clientId" | "createdAt" | "createdBy" | "modifiedAt" | "modifiedBy">;
|
|
24
18
|
export type CreateOAuthClientResponse = OAuthClient;
|
|
19
|
+
export type UpdateOAuthClientRequest = Omit<OAuthClient, "clientType" | "createdAt" | "createdBy" | "modifiedAt" | "modifiedBy">;
|
|
20
|
+
export type UpdateOAuthClientResponse = OAuthClient;
|
|
25
21
|
export type GetOAuthClientRequest = {
|
|
26
22
|
clientId: string;
|
|
27
23
|
};
|