摘要 |
Embodiments of the present disclosure disclose an identity authentication method and device. The method comprises: receiving, by an identity authentication server, an identity authentication request transmitted by a third-party platform; determining, according to the phone number, an ID of a first identity authentication client by searching a pre-stored correspondence; if the first identity authentication client is online, transmitting a user information request; transmitting an authentication success message to the third-party platform if a user information response carrying the user information is received and the user information is consistent with user information stored in the identity authentication server; or transmitting an authentication fail message to the third-party platform if the user information is inconsistent with user information stored in the identity authentication server, or if a user information response carrying the user information is not received. |
主权项 |
1. An identity authentication method, applied in the process when a user logs in a third-party platform, comprising:
receiving, by an identity authentication server, an identity authentication request including a phone number of a user transmitted by a third-party platform; determining, by the identity authentication server, according to the phone number, an ID of a first identity authentication client by searching a pre-stored correspondence between a phone number and an ID of an identity authentication client, the ID of the first identity authentication client being an ID of an identity authentication client corresponding to the phone number; transmitting, by the identity authentication server, if the first identity authentication client is online, a user information request which is used to indicate that the user is logging in the third-party platform and to request the first identity authentication client to report user information to the first identity authentication client, the user information being used to indicate communication circumstance of the user within a preset period of time; and transmitting, by the identity authentication server, an authentication success message to the third-party platform if the identity authentication server receives a user information response carrying the user information reported by the first identity authentication client and the user information carried in the user information response is consistent with user information stored in the identity authentication server; transmitting, by the identity authentication server, an authentication fail message to the third-party platform if the identity authentication server receives a user information response carrying the user information reported by the first identity authentication client and the user information carried in the user information response is inconsistent with user information stored in the identity authentication server, or if the identity authentication server fails to receive a user information response carrying the user information reported by the first identity authentication client. |