import { Users } from "https://deno.land/x/appwrite@10.0.0/mod.ts";
Create token
Returns a token with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the PUT /account/sessions/custom endpoint to complete the login process.
Returns
Promise<Models.Token>