Browse Source

feat(openiddict): 增加授权令牌类型导出.

pull/1056/head
colin 1 year ago
parent
commit
958062f2b5
  1. 1
      apps/vben5/packages/@abp/openiddict/src/types/index.ts
  2. 34
      apps/vben5/packages/@abp/openiddict/src/types/tokens.ts

1
apps/vben5/packages/@abp/openiddict/src/types/index.ts

@ -1,3 +1,4 @@
export * from './applications'; export * from './applications';
export * from './authorizations'; export * from './authorizations';
export * from './scopes'; export * from './scopes';
export * from './tokens';

34
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<string> {
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 };
Loading…
Cancel
Save