elasticsearch-api/lib/elasticsearch/api/actions/security/saml_authenticate.rb
def saml_authenticate(arguments = {})
          raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]

          headers = arguments.delete(:headers) || {}

          body = arguments.delete(:body)

          arguments = arguments.clone

          method = Elasticsearch::API::HTTP_POST
          path   = "_security/saml/authenticate"
          params = {}

          perform_request(method, path, params, body, headers).body
        end
# Exchanges a SAML Response message for an Elasticsearch access token and refresh token pair
#
# @option arguments [Hash] :headers Custom HTTP headers
# @option arguments [Hash] :body The SAML response to authenticate (*Required*)
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-authenticate.html
#
Exchanges a SAML Response message for an Elasticsearch access token and refresh token pair
Exchanges a SAML Response message for an Elasticsearch access token and refresh token pair
def saml_authenticate(arguments = {})
          raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
          headers = arguments.delete(:headers) || {}
          body = arguments.delete(:body)
          arguments = arguments.clone
          method = Elasticsearch::API::HTTP_POST
          path   = "_security/saml/authenticate"
          params = {}
          perform_request(method, path, params, body, headers).body
        end
def saml_authenticate ( arguments = { } ) raise ArgumentError , "Required argument 'body' missing" unless arguments [ :body ] headers = arguments . delete ( :headers ) || { } body = arguments . delete ( :body ) arguments = arguments . clone method = Elasticsearch :: API :: HTTP_POST path = "_security/saml/authenticate" params = { } perform_request ( method , path , params , body , headers ) . body end
Exchanges a SAML Response message for an Elasticsearch access token and refresh token pair
Exchanges a SAML Response message for an Elasticsearch access token and refresh token pair
arguments
:body The SAML response to authenticate (*Required*)
: body The SAML response to authenticate ( * Required * )
see
None