S
Size: a a a
S
АГ
АХ
d.
АХ
d.
S
АХ
АХ
d.
А
АХ
АХ
АХ
АХ
А
АХ
АХ
public static function refresh_token(Request $request)
{
$refresh_token = $request->get('refresh_token');
$app_key = env('APP_KEY');
$enc_key = base64_decode(substr($app_key, 7));
try {
$crypto = Crypto::decryptWithPassword($refresh_token, $enc_key);
} catch (Exception $exception){
return $exception;
}
return json_decode($crypto, true);
}