getAuth()
function can be used to retrieve the current authentication state of the user from the server.
Returns
Returns an object containing the following fields:The current session object, or
null
if the user is not authenticated.KobbleServerAuthSession
is defined as follows:User
is defined as follows: