(EN) Methods and apparatuses for service request authentication are disclosed to prevent a terminal or a first server that does not sign an agreement with a gateway from bypassing the gateway to directly access a second server. The method includes receiving a service request and determining a session in which the service request is located; determining whether a token corresponding to the session exists, the token corresponding to a session in which a service request from a gateway is located; if the token exists, determining that the authentication of the service request passes and proceeds to process a corresponding service; if the token does not exist, determining that the authentication of the service request fails and the processing of the corresponding service is refused.
(FR) L'invention concerne des procédés et des appareils d'authentification de demande de service, qui empêchent qu'un terminal ou un premier serveur n'ayant pas signé un accord avec une passerelle de contourner la passerelle pour accéder directement à un second serveur. Le procédé consiste à : recevoir une demande de service et déterminer la session dans laquelle la demande de service se trouve; déterminer si un jeton correspondant à la session existe, le jeton correspondant à la session dans laquelle se trouve une demande de service provenant d'une passerelle; si le jeton existe, déterminer que l'authentification de la demande de service a réussi et continuer à traiter un service correspondant; si le jeton n'existe pas, déterminer que l'authentification de la demande de service a échoué et refuser le traitement du service correspondant.