/admin/identity-providers/{id}/certificates
分页列出指定身份提供商的证书
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
|---|---|---|---|---|---|---|---|
id |
path |
string |
Yes | 提供商ID | |||
page |
query |
integer |
No | 1 |
页码 | ||
page_size |
query |
integer |
No | 20 |
每页条数 |
Responses
| Status | Description | Schema |
|---|---|---|
| 200 | OK | dto.CertificateListResponse |
| 401 | Unauthorized | dto.SimpleResponseWrapper |
| 500 | Internal Server Error | dto.SimpleResponseWrapper |
Referenced Schemas
dto.CertificateListResponse
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
code |
integer |
No | |||
items |
array of |
No | 统一使用 items | ||
message |
string |
No | |||
pagination |
object |
No | 分页信息(嵌套对象) | ||
timestamp |
string |
No | |||
total |
integer |
No | 总条数(平铺,便于直接读取) |
dto.ProviderCertificateResponse
身份提供商证书信息
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
created_at |
string |
No | 2026-04-15T10:30:00Z |
||
expires_at |
string |
No | 2027-04-15T10:30:00Z |
||
fingerprint |
string |
No | sha256:abc123def456 |
||
id |
string |
No | cert_abc123 |
||
name |
string |
No | My SAML Signing Cert |
||
provider_id |
string |
No | idp_xyz789 |
||
status |
string |
No | active |
||
type |
string |
No | signing |
dto.SimpleResponseWrapper
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
code |
integer |
No | |||
message |
string |
No |
gitee_com_linmes_authms_base_dto.PageInfo
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
has_next |
boolean |
No | HasNext indicates whether there is a next page | ||
has_prev |
boolean |
No | HasPrev indicates whether there is a previous page | ||
page |
integer |
No | Page is the current page number (1-based) | ||
page_size |
integer |
No | PageSize is the number of items per page | ||
total |
integer |
No | Total is the total number of items across all pages | ||
total_pages |
integer |
No | TotalPages is the total number of pages |