Skip to main content
Module

x/miauthjs/mod.ts>MiAuth#getToken

the wrapper for MiAuth on Deno/Node.js
Go to Latest
method MiAuth.prototype.getToken
import { MiAuth } from "https://deno.land/x/miauthjs@0.0.2/mod.ts";

return misskey api token when failed authentication, thow AuthenticationError

Returns

Promise<string>