Description=This method can be used to provide devices with the URL to perform the logout request.
The UNIAPI also generates some additional parameters to be included are the following ones: * '''payloadDevicenonce''' (Optional): random hash generated String value used to associate the logout process with a session identifier. Will be maintained during all the process. This nonce has to be created by UNIAPI and will be stored in the client state variable and stored locally, returned to the end application. We will use this to perform security validationsrepresent the logout session during all the flow (and use it for logging and BI logs). * '''deviceCallbackUrlstate''' (Optional): a json with some parameters is created and encoded as a base64 string, for later use: { "instanceId": 29, //taken from the callback url where token "deviceType": 401, //taken from the device wants to receive the final result of the authentication process.token,* ''' "deviceId'''(Mandatory)": 323424234, //taken from the input. Be carefull, this is not the MIB ID of , is the device (DEVICE_ID column).* '''token''' (Mandatory) "userId": 323424234, //taken from the logged UNIAPI token "payloadDevice": "2342dsf2329fjj92332fd", //taken from the device appinput "deviceCallbackUrl": "https://movistarplay.com.cl/sso" // taken from the input "nonce":"42231976-a86d-42e2-8fe6-98f7546bdf89" // nonce generated by UNIAPI for this logout session }
==== Geo-Location ====
==== BI ====
|Parameters=
{{Api_Parameter|
ParamName=payloadDevice
|ParamType=String
|ParamRequired=optional
|ParamDescription=Random hash generated by the client and stored locally, to perform security validations.
}}
{{Api_Parameter|
ParamName=deviceCallbackUrl
|ParamType=String
|ParamRequired=optional
|ParamDescription=the callback url where the device wants to receive the final result of the authentication process.
}}
{{Api_Parameter|
ParamName=deviceId
|ParamType=String
|ParamRequired=required
|ParamDescription=the ID of the device from which the logout is being performed (DEVICE_ID column)
}}
{{Api_Parameter|
ParamName=token
|ParamType=String
|ParamRequired=required
|ParamDescription=the logged UNIAPI token from the device app.
}}
|Returns=
Returns a JSON object containing the generated anonymous token and its expiration time (in UnixTimestamp format).