Skip to main content
Module

x/appwrite/mod.ts>Account#updatePhoneSession

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
method Account.prototype.updatePhoneSession
Re-export
import { Account } from "https://deno.land/x/appwrite@10.0.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