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

x/gotrue/src/GoTrueClient.ts>default#setAuth

An isomorphic Javascript library for GoTrue.
Latest
method default.prototype.setAuth
import { default } from "https://deno.land/x/gotrue@3.0.0/src/GoTrueClient.ts";

Overrides the JWT on the current client. The JWT will then be sent in all subsequent network requests.

Parameters

access_token: string

a jwt access token