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

x/appwrite/mod.ts>Account#updatePhoneSession

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

Update phone 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