Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/appwrite/mod.ts>Account#createSession

[READ-ONLY] Official Appwrite Deno SDK 🦕
Latest
method Account.prototype.createSession
Re-export
import { Account } from "https://deno.land/x/appwrite@11.0.0/mod.ts";

Create session

Use this endpoint to create a session from token. Provide the userId and secret parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.

Parameters

userId: string
secret: string