You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
610 B
24 lines
610 B
import { defHttp } from '/@/utils/http/axios';
|
|
import {
|
|
PersistedGrant,
|
|
GetPersistedGrantPagedRequest,
|
|
} from './model';
|
|
|
|
export const deleteById = (id: string) => {
|
|
return defHttp.delete<void>({
|
|
url: `/api/identity-server/persisted-grants/${id}`,
|
|
});
|
|
};
|
|
|
|
export const get = (id: string) => {
|
|
return defHttp.get<PersistedGrant>({
|
|
url: `/api/identity-server/persisted-grants/${id}`,
|
|
});
|
|
};
|
|
|
|
export const getList = (input: GetPersistedGrantPagedRequest) => {
|
|
return defHttp.get<PagedResultDto<PersistedGrant>>({
|
|
url: '/api/identity-server/persisted-grants',
|
|
params: input,
|
|
});
|
|
};
|
|
|