Most of the time you will not need to interact with the
auth-apidirectly. The process of authentication and re-authentication is handle internally in the SDK.
The login function takes 2 parameters a user email and password. It then talks to the
auth-apito get a session token for the provided user credentials.
Given a session
tokenthis function will talk with the
auth-apito ensure the provide token is a valid session.