Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Usage

import * as monolith from "https://raw.githubusercontent.com/yourfriendoss/Monolith/main/src/routes/auth.ts";

§Functions

changePassword

Change the password of a user. Has to be a POST request, containing JSON data. Headers don't matter.

login

Log-in to a account. Both POST and GET requests are supported. Automatically refreshes sessions whenever attempting to login via GET. (cc client)

register

Register a user Only use POST.