Skip to main content
Module

x/appwrite/mod.ts>Account#createJWT

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

Create JWT

Use this endpoint to create a JSON Web Token. You can use the resulting JWT to authenticate on behalf of the current user when working with the Appwrite server-side API and SDKs. The JWT secret is valid for 15 minutes from its creation and will be invalid if the user will logout in that time frame.