forked from docs/doc-exports
Reviewed-by: gtema <artem.goncharov@gmail.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
71 lines
6.5 KiB
HTML
71 lines
6.5 KiB
HTML
<a name="mrs_02_1093"></a><a name="mrs_02_1093"></a>
|
|
|
|
<h1 class="topictitle1">Logging Out Of a Session</h1>
|
|
<div id="body8662426"><div class="section" id="mrs_02_1093__en-us_topic_0125376253_section488917100152"><h4 class="sectiontitle">Function </h4><p class="msonormal" id="mrs_02_1093__en-us_topic_0125376253_en-us_topic_0110839917_p43237276">This API is used to return a temporary redirection, that is, a URL for logging out of the CAS, when you log out of the MapReduce Service system. This API can be used only by security clusters that support Kerberos authentication.</p>
|
|
</div>
|
|
<div class="section" id="mrs_02_1093__en-us_topic_0125376253_sc26ed6caea3046cdafdef64b5012cbeb"><h4 class="sectiontitle">URI</h4><ul id="mrs_02_1093__en-us_topic_0125376253_ul5284195215150"><li id="mrs_02_1093__en-us_topic_0125376253_li5284105231519">Format</li></ul>
|
|
<p class="msonormal" id="mrs_02_1093__en-us_topic_0125376253_en-us_topic_0110839917_p57258361">GET /web/v1/logout_action</p>
|
|
<ul id="mrs_02_1093__en-us_topic_0125376253_ul57341728182"><li id="mrs_02_1093__en-us_topic_0125376253_li37341241812">Parameter description</li></ul>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_1093__en-us_topic_0125376253_en-us_topic_0110839917_table45563202" frame="border" border="1" rules="all"><caption><b>Table 1 </b>URI parameter description</caption><thead align="left"><tr id="mrs_02_1093__en-us_topic_0125376253_en-us_topic_0110839917_row48520594"><th align="left" class="cellrowborder" valign="top" width="25.46%" id="mcps1.3.2.5.2.4.1.1"><p id="mrs_02_1093__en-us_topic_0125376253_en-us_topic_0110839917_p37854043">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25.46%" id="mcps1.3.2.5.2.4.1.2"><p id="mrs_02_1093__en-us_topic_0125376253_en-us_topic_0110839917_p46278677">Mandatory or Not</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="49.08%" id="mcps1.3.2.5.2.4.1.3"><p id="mrs_02_1093__en-us_topic_0125376253_en-us_topic_0110839917_p48696066"><strong id="mrs_02_1093__b842352706134712">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_02_1093__en-us_topic_0125376253_en-us_topic_0110839917_row52067270"><td class="cellrowborder" valign="top" width="25.46%" headers="mcps1.3.2.5.2.4.1.1 "><p id="mrs_02_1093__en-us_topic_0125376253_en-us_topic_0110839917_p56699371">is_timeout_logout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.46%" headers="mcps1.3.2.5.2.4.1.2 "><p id="mrs_02_1093__en-us_topic_0125376253_en-us_topic_0110839917_p29246361">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.08%" headers="mcps1.3.2.5.2.4.1.3 "><p id="mrs_02_1093__en-us_topic_0125376253_en-us_topic_0110839917_p9885251">Whether to exit due to page timeout. This parameter is optional. Different audit logs are recorded in the background when a user logs out manually or exits due to timeout.</p>
|
|
<p id="mrs_02_1093__en-us_topic_0125376253_en-us_topic_0110839917_p21858402">Possible values are as follows:</p>
|
|
<p id="mrs_02_1093__en-us_topic_0125376253_en-us_topic_0110839917_p62507891"><strong id="mrs_02_1093__b842352706203838">true</strong>: Logout due to timeout</p>
|
|
<p id="mrs_02_1093__en-us_topic_0125376253_en-us_topic_0110839917_p25700113"><strong id="mrs_02_1093__b84235270620395">false</strong>: Manual logout</p>
|
|
<p id="mrs_02_1093__en-us_topic_0125376253_en-us_topic_0110839917_p29974428">The default value is <strong id="mrs_02_1093__b2038714653203942">false</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="mrs_02_1093__en-us_topic_0125376253_sdf27c4a299d04c1baff23dbbc4269c9b"><h4 class="sectiontitle">Request</h4><ul id="mrs_02_1093__en-us_topic_0125376253_ul186521051131815"><li id="mrs_02_1093__en-us_topic_0125376253_li06527516186">Example:<pre class="screen" id="mrs_02_1093__en-us_topic_0125376253_screen9654102010269">GET /web/v1/logout_action?is_timeout_logout=null HTTP/1.1
|
|
Host: example.com
|
|
Content-Type: application/json
|
|
Accept:application/json</pre>
|
|
</li><li class="msonormal" id="mrs_02_1093__en-us_topic_0125376253_li155232027112615">Parameter description<p id="mrs_02_1093__en-us_topic_0125376253_p121171443192619"><a name="mrs_02_1093__en-us_topic_0125376253_li155232027112615"></a><a name="en-us_topic_0125376253_li155232027112615"></a>None</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="mrs_02_1093__en-us_topic_0125376253_saf8a9f52782a466eacc8cd2dad480b24"><h4 class="sectiontitle">Response</h4><ul id="mrs_02_1093__en-us_topic_0125376253_ul846691419274"><li id="mrs_02_1093__en-us_topic_0125376253_li10466214122719">Example:<pre class="screen" id="mrs_02_1093__en-us_topic_0125376253_screen795412507271">HTTP/1.1 200 OK
|
|
Data:Wed,02 May 2018 10:10:01 GMT
|
|
Server: example-server
|
|
Content-Type: application/json</pre>
|
|
</li><li class="msonormal" id="mrs_02_1093__en-us_topic_0125376253_li109761559192719">Parameter description<p id="mrs_02_1093__en-us_topic_0125376253_p194220719284"><a name="mrs_02_1093__en-us_topic_0125376253_li109761559192719"></a><a name="en-us_topic_0125376253_li109761559192719"></a>None</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="mrs_02_1093__en-us_topic_0125376253_section2092982712508"><h4 class="sectiontitle">Status Code</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_1093__en-us_topic_0125376253_table2979011121511" frame="border" border="1" rules="all"><thead align="left"><tr id="mrs_02_1093__en-us_topic_0125376253_row3981161161515"><th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.5.2.1.3.1.1"><p id="mrs_02_1093__en-us_topic_0125376253_p398115116158">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="83%" id="mcps1.3.5.2.1.3.1.2"><p id="mrs_02_1093__en-us_topic_0125376253_p1798121191515">Description </p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_02_1093__en-us_topic_0125376253_row69813112155"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.5.2.1.3.1.1 "><p id="mrs_02_1093__en-us_topic_0125376253_p15667142018546">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83%" headers="mcps1.3.5.2.1.3.1.2 "><p id="mrs_02_1093__en-us_topic_0125376253_p23378286542">The operation is successful.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="mrs_02_1093__en-us_topic_0125376253_p385511715205">For details about error status codes, see <a href="mrs_02_0015.html">Status Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_02_1086.html">MRS Manager Web APIs</a></div>
|
|
</div>
|
|
</div>
|
|
|