From 958062f2b58a52cd6073e4ce8e785ba65ccc146c Mon Sep 17 00:00:00 2001 From: colin Date: Sun, 22 Dec 2024 11:35:57 +0800 Subject: [PATCH] =?UTF-8?q?feat(openiddict):=20=E5=A2=9E=E5=8A=A0=E6=8E=88?= =?UTF-8?q?=E6=9D=83=E4=BB=A4=E7=89=8C=E7=B1=BB=E5=9E=8B=E5=AF=BC=E5=87=BA?= =?UTF-8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../@abp/openiddict/src/types/index.ts | 1 + .../@abp/openiddict/src/types/tokens.ts | 34 +++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 apps/vben5/packages/@abp/openiddict/src/types/tokens.ts diff --git a/apps/vben5/packages/@abp/openiddict/src/types/index.ts b/apps/vben5/packages/@abp/openiddict/src/types/index.ts index 7144e7eb0..6933d8005 100644 --- a/apps/vben5/packages/@abp/openiddict/src/types/index.ts +++ b/apps/vben5/packages/@abp/openiddict/src/types/index.ts @@ -1,3 +1,4 @@ export * from './applications'; export * from './authorizations'; export * from './scopes'; +export * from './tokens'; diff --git a/apps/vben5/packages/@abp/openiddict/src/types/tokens.ts b/apps/vben5/packages/@abp/openiddict/src/types/tokens.ts new file mode 100644 index 000000000..3a5167d26 --- /dev/null +++ b/apps/vben5/packages/@abp/openiddict/src/types/tokens.ts @@ -0,0 +1,34 @@ +import type { + ExtensibleAuditedEntityDto, + PagedAndSortedResultRequestDto, +} from '@abp/core'; + +interface OpenIddictTokenGetListInput extends PagedAndSortedResultRequestDto { + authorizationId?: string; + beginCreationTime?: string; + beginExpirationDate?: string; + clientId?: string; + endCreationTime?: string; + endExpirationDate?: string; + filter?: string; + referenceId?: string; + status?: string; + subject?: string; + type?: string; +} + +interface OpenIddictTokenDto extends ExtensibleAuditedEntityDto { + applicationId?: string; + authorizationId?: string; + creationDate?: string; + expirationDate?: string; + payload?: string; + properties?: string; + redemptionDate?: string; + referenceId?: string; + status?: string; + subject?: string; + type?: string; +} + +export type { OpenIddictTokenDto, OpenIddictTokenGetListInput };