Browse Source

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

pull/1056/head
colin 1 year ago
parent
commit
b60ecc20a8
  1. 1
      apps/vben5/packages/@abp/openiddict/src/components/applications/ApplicationSecretModal.vue
  2. 29
      apps/vben5/packages/@abp/openiddict/src/types/authorization.ts

1
apps/vben5/packages/@abp/openiddict/src/components/applications/ApplicationSecretModal.vue

@ -70,7 +70,6 @@ async function onSubmit(input: Record<string, any>) {
message.success($t('AbpUi.SavedSuccessfully'));
emits('change', dto);
modalApi.close();
modalApi.close();
}
</script>

29
apps/vben5/packages/@abp/openiddict/src/types/authorization.ts

@ -0,0 +1,29 @@
import type {
Dictionary,
ExtensibleAuditedEntityDto,
PagedAndSortedResultRequestDto,
} from '@abp/core';
interface OpenIddictAuthorizationDto
extends ExtensibleAuditedEntityDto<string> {
applicationId?: string;
creationDate?: string;
properties?: Dictionary<string, string>;
scopes?: string[];
status?: string;
subject?: string;
type?: string;
}
interface OpenIddictAuthorizationGetListInput
extends PagedAndSortedResultRequestDto {
beginCreationTime?: string;
clientId?: string;
endCreationTime?: string;
filter?: string;
status?: string;
subject?: string;
type?: string;
}
export type { OpenIddictAuthorizationDto, OpenIddictAuthorizationGetListInput };
Loading…
Cancel
Save