Skip to main content

A JavaScript/TypeScript package providing common utilities and logic shared across all Temboplus-Afloat Projects

This package works with Node.js, DenoIt is unknown whether this package works with Cloudflare Workers, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
70%
Published
3 weeks ago (0.1.29)
method AfloatAuth.prototype.logIn
AfloatAuth.prototype.logIn(
email: string,
password: string,
): Promise<User>

Authenticates a user with email and password.

Parameters

email: string
  • The user's email
password: string
  • The user's password

Return Type

Promise resolving to the authenticated user

Throws

Will throw an error if authentication fails

Add Package

deno add jsr:@temboplus/afloat

Import symbol

import { AfloatAuth } from "@temboplus/afloat";

---- OR ----

Import directly with a jsr specifier

import { AfloatAuth } from "jsr:@temboplus/afloat";

Add Package

npx jsr add @temboplus/afloat

Import symbol

import { AfloatAuth } from "@temboplus/afloat";

Add Package

yarn dlx jsr add @temboplus/afloat

Import symbol

import { AfloatAuth } from "@temboplus/afloat";

Add Package

pnpm dlx jsr add @temboplus/afloat

Import symbol

import { AfloatAuth } from "@temboplus/afloat";

Add Package

bunx jsr add @temboplus/afloat

Import symbol

import { AfloatAuth } from "@temboplus/afloat";