uawdijnntqw1x1x1
IP : 216.73.216.242
Hostname : webd009.cluster130.gra.hosting.ovh.net
Kernel : Linux webd009.cluster130.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
pressec
/
www
/
presselib
/
92872
/
..
/
anjljson
/
auth_token_et0.php
/
/
<?php //connexion // Demander un jeton d'accès pour l'application $jeton = ''; $AuthCode ='MjdfYWpsNjRAcHJlc3NlbGliLmNvbTpoeDE0NXN1b2J6NzRpNjZndjBqb2psOXBseWk3b3lsYWtpaDVrc3oxcHNoY3o5NzYzZQ=='; $url = 'HTTPS://PORTAIL.ACTULEGALES.FR/OAUTH/V2/TOKEN'; $datas = array( 'grant_type' => 'authorization_code', 'code' => $AuthCode , 'username' => 'ajl@presselib.com', 'password' => '64PLBAjl2020852', 'grant_type' => 'password', 'scope' => 'user', ); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $datas); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, true); curl_setopt($ch, CURLOPT_TIMEOUT, 3600); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); $result_json = curl_exec($ch); $result = json_decode($result_json, true); $token = $result['access_token']; //reponse $reponse = var_dump(http_response_code()); //curl_close($ch); echo $reponse; ?> <?php ?>
/home/pressec/www/presselib/92872/../anjljson/auth_token_et0.php