Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/appwrite/mod.ts>Users#createSession

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
method Users.prototype.createSession
Re-export
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.

Parameters

userId: string