Async auth requests
This scenario is similar to non-blocking authentication, however, it’s not restricted to only one user.
Sending an asynchronous authentication request is pretty straightforward, you can do it with the async option.
This will return a conversation id identifying the authentication conversation, you should store it and catch it on a subscription, check Receiving authentication response - Subscribe section on how to manage this.
cid = @client.
authentication.
request("1112223334", async: true)
client.
AuthenticationService().
RequestAsync("1112223334", "conversation_id")
let res = await client.
authentication().
request("1112223334", { 'async': true })