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 };