xpack.security.getToken

edit
client.xpack.security.getToken({
  body: object
})

Reference

body

object - The token request to get