- Development Integration
- /
- SDK
- /
- Python
- /
Authentication Module
- /
Others
- /
- Get Server Public Information
¶ Get server public information
Update time: 2025-07-23 07:34:21
The endpoint can get the server's public information, such as RSA256 public key, SM2 public key, GenAuth service version number, etc.
¶ Method name
AuthenticationClient.get_system_info
¶ Request parameters
| Name | Type | Required | Default value | Description | Sample value |
|---|
¶ Request response
Type: SystemInfoResp
| Name | Type | Description |
|---|---|---|
| rsa | SystmeInfoRSAConfig | RSA256 encryption configuration information |
| sm2 | SystmeInfoSM2Config | National SM2 Encryption configuration information |
| version | SystmeInfoVersion | National SM2 encryption configuration information |
| publicIps | array | GenAuth service external IP list |
Sample result:
{
"rsa": {
"publicKey": "xxxxxxxxxxxxxxxxxxxxxxxx"
},
"sm2": {
"publicKey": "xxxxxxxxxxxxxxxxxxxxxx"
},
"version": {
"server": "2.0.0",
"console": "2.0.0",
"login": "2.0.0"
}
}
¶ Data structure
¶ SystmeInfoRSAConfig
| Name | Type | Is it required? | Description | Sample value |
|---|---|---|---|---|
| publicKey | string | Yes | RSA256 public key | xxxxxxxxxxxxxxxxxxxxxx |
¶ SystmeInfoSM2Config
| Name | Type | Required | Description | Sample value |
|---|---|---|---|---|
| publicKey | string | Yes | SM2 public key | xxxxxxxxxxxxxxxxxxxxxx |
¶ SystmeInfoVersion
| Name | Type | Required | Description | Sample value |
|---|---|---|---|---|
| server | string | Yes | GenAuth core service version number | 2.0.0 |
| console | string | Yes | GenAuth console version number | 2.0.0 |
| login | string | Yes | GenAuth hosted login page version number | 2.0.0 |
