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#updatePhoneSession

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

Returns

Promise<Models.Session>