/admin/auth-policies
分页获取所有租户的认证策略
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
|---|---|---|---|---|---|---|---|
page |
query |
integer |
No | 1 |
页码 | ||
page_size |
query |
integer |
No | 20 |
每页数量 |
Responses
| Status | Description | Schema |
|---|---|---|
| 200 | 策略列表 | dto.TenantAuthPolicyListResponse |
Referenced Schemas
dto.TenantAuthPolicyListResponse
| 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.TenantAuthPolicyResponse
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
captcha_enabled |
boolean |
No | |||
change_cooldown_minutes |
integer |
No | |||
check_breached_passwords |
boolean |
No | Security Features | ||
created_at |
string |
No | |||
cross_tenant_switch_enabled |
boolean |
No | |||
device_fingerprint_enabled |
boolean |
No | |||
device_trust_duration_hours |
integer |
No | |||
expiry_days |
integer |
No | Password Lifecycle | ||
force_change_on_first_login |
boolean |
No | |||
grace_period_days |
integer |
No | |||
history_count |
integer |
No | |||
lockout_attempts |
integer |
No | Rate Limit | ||
lockout_duration_minutes |
integer |
No | |||
login_methods |
array of string |
No | Login Methods | ||
magic_link_enabled |
boolean |
No | |||
max_devices_per_user |
integer |
No | Device | ||
max_length |
integer |
No | |||
mfa_enabled |
boolean |
No | MFA | ||
mfa_enforce_for_all |
boolean |
No | |||
mfa_methods |
array of string |
No | |||
mfa_required_user_role |
string |
No | |||
min_length |
integer |
No | Password Complexity | ||
oauth_providers |
array of string |
No | |||
passkey_enabled |
boolean |
No | |||
passkey_max_credentials |
integer |
No | |||
passkey_user_verification |
string |
No | Passkey | ||
password_transmission |
string |
No | |||
pepper_enabled |
boolean |
No | |||
refresh_token_rotation |
boolean |
No | |||
remember_me_days |
integer |
No | |||
require_digits |
boolean |
No | |||
require_lowercase |
boolean |
No | |||
require_special_chars |
boolean |
No | |||
require_uppercase |
boolean |
No | |||
session_bind_to_device |
boolean |
No | |||
session_concurrent_limit |
integer |
No | |||
session_idle_ttl_minutes |
integer |
No | |||
session_ttl_minutes |
integer |
No | Session | ||
silent_challenge_enabled |
boolean |
No | |||
sso_providers |
array of string |
No | |||
tenant_id |
string |
No | |||
updated_at |
string |
No | |||
web3_enabled |
boolean |
No | Web3 |
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 |