Getting Logged In User Details for Custom Task List

Hello, I am in the process of creating a custom Task List UI and was exploring the authentication mechanism and APIs. I have installed Camunda Cloud Self Managed along with IAM. I have the following questions:

  1. Are there any APIs that allow me to login as a user and password configured in IAM?
  2. How do I get a token that identifies me as a user configured in IAM.
  3. Do the “tasks” GraphQL query take into account the user associated with the Bearer Token while providing the results or does it strictly return the tasks based on the filter criteria?