I'm working on a REST driver to connect to Advanced Authentication. I need to make these REST calls just to authenticate. I'm wondering how others would manage this. I'm thinking XSLT. What would you do?

To create an endpoint session:
POST: https://10.231.93.80/api/v1/endpoint...96a85/sessions

{

"salt": "2615c070937935246c6a91df70a8eb672b21d842a2256 21c9 797a83bedf00a7b",

"endpoint_secret_hash": "db1862075ccb115836f6c85abe8bd06f9b73982e26e97 5c80 70584c382fc9a54"

}

To create a logon:
POST: https://10.231.93.80/api/v1/logon

{

"method_id": "PASSWORD:1",

"user_name": "LOCAL\\SERVICE-IDM",

"event": "AdminUI",

"endpoint_session_id": "lGJDUg4iVP3k16dwFRycAb992hGln7m7"

}

DoLogon
POST: https://10.231.93.80/api/v1/logon/fc...qfnGe/do_logon

{

"endpoint_session_id": "VhzrRwJfg2ywu5R668yVgXAU5ez92UYJ",

"response": {

"answer": "Password-goes-here"

}

}