Files
elasticsearch-js/docs/reference-security-saml_logout.asciidoc
2024-12-05 14:46:52 -06:00

75 lines
3.9 KiB
Plaintext

[[reference-security-saml_logout]]
////////
===========================================================================================================================
|| ||
|| ||
|| ||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|| ||
|| ||
|| This file is autogenerated, DO NOT send pull requests that changes this file directly. ||
|| You should update the script that does the generation, which can be found in: ||
|| https://github.com/elastic/elastic-client-generator-js ||
|| ||
|| You can run the script with the following command: ||
|| npm run elasticsearch -- --version <version> ||
|| ||
|| ||
|| ||
===========================================================================================================================
////////
[discrete]
[[client.security.samlLogout]]
=== client.security.samlLogout
Logout of SAML. Submits a request to invalidate an access token and refresh token.
{ref}/security-api-saml-logout.html[{es} documentation]
[discrete]
==== Function signature
[source,ts]
----
(SecuritySamlLogoutRequest, options?): Promise<SecuritySamlLogoutResponse>
----
[discrete]
==== SecuritySamlLogoutRequest
[pass]
++++
<pre>
++++
interface SecuritySamlLogoutRequest extends <<RequestBase>> {
token: string
refresh_token?: string
}
[pass]
++++
</pre>
++++
[discrete]
==== SecuritySamlLogoutResponse
[pass]
++++
<pre>
++++
interface SecuritySamlLogoutResponse {
redirect: string
}
[pass]
++++
</pre>
++++