Difference between revisions of "RememberUser"

From Gvp-public
Jump to navigation Jump to search
(Created page with "{{Api_Method_Spec| Description= |Parameters= {{Api_Parameter| ParamName=token |ParamType=String |ParamRequired=required |ParamDescription=A valid token for identifying the API ...")
 
Line 14: Line 14:
 
|ParamType=int
 
|ParamType=int
 
|ParamRequired=required
 
|ParamRequired=required
|ParamDescription=Sets the time duration for the token. It's used when the client wants to maintain the user logged during a long time.
+
|ParamDescription=Sets the time duration for the token. This value is expressed in minutes. It's used when the device client wants to re-generate a new token with another time duration.
 
}}
 
}}
  

Revision as of 15:03, 4 June 2014

Description

Parameters

  • token (String, required)
A valid token for identifying the API session context and logged user
  • expirationMinute (int, required)
Sets the time duration for the token. This value is expressed in minutes. It's used when the device client wants to re-generate a new token with another time duration.


Returns

Returns a JSON object containing an Login object with the new expiration for token.

Example:

{

Login object,

}


Exceptions

Caching

This method is not cached.


Known issues

None


Version history

API Version Number Change description Changes author
1.0 Initial method design Harley Cabral


See also