Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/appwrite/mod.ts>Account#updateSession

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

Update OAuth Session (Refresh Tokens)

Access tokens have limited lifespan and expire to mitigate security risks. If session was created using an OAuth provider, this route can be used to "refresh" the access token.

Parameters

sessionId: string