OnAuthenticationInformation

This message is sent as the first message from the server after a new WebSocket has been established and the client has sent the first message on the WebSocket. The message informs the client about who the user is and how to log out.

{
  "jsonrpc":"2.0",
  "method":"OnAuthenticationInformation",
  "params":
  {
    "userId":"foo",
    "userDirectory":"USERDIR",
    "logoutUri":"https://bar.company.com/qps/user",
    "mustAuthenticate":false
  }
}

If the mustAuthenticate property is true, the client must navigate to the (then present) loginUri for authentication.


{
  "jsonrpc":"2.0",
  "method":"OnAuthenticationInformation",
  "params":
  {
    "loginUri":"https://bar.company.com/internal_windows_authentication/?targetUri=<foobar>",
    "mustAuthenticate":true
  }
}

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?