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

x/appwrite/src/services/account.ts>Account#createAnonymousSession

[READ-ONLY] Official Appwrite Deno SDK 🦕
Latest
method Account.prototype.createAnonymousSession
import { Account } from "https://deno.land/x/appwrite@11.0.0/src/services/account.ts";

Create anonymous session

Use this endpoint to allow a new user to register an anonymous account in your project. This route will also create a new session for the user. To allow the new user to convert an anonymous account to a normal account, you need to update its email and password or create an OAuth2 session.

Returns

Promise<Models.Session>