import { Users } from "https://deno.land/x/appwrite@10.0.0/mod.ts";
Create session
Creates a session for a user. Returns an immediately usable session object.
If you want to generate a token for a custom authentication flow, use the POST /users/{userId}/tokens endpoint.
Returns
Promise<Models.Session>