Commit 7d56632c by David Villalba

Comentarios en metodos WS

parent 92977690
...@@ -9,10 +9,23 @@ ...@@ -9,10 +9,23 @@
trait Trait_InutraliaWS { trait Trait_InutraliaWS {
/**
*
* Guarda el token de usuario en Session necesario para mantenerse logeado.
*
* @param $token_auth
*/
public function save_token_credentials ($token_auth){ public function save_token_credentials ($token_auth){
\Session::set('token_auth',$token_auth); \Session::set('token_auth',$token_auth);
} }
/**
* Construye la cabecera base para realizar las peticiones al WS de inutralia.
*
* @return array
*/
public function get_header(){ public function get_header(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment