1.0.6 • Published 1 year ago

authflow-helper v1.0.6

Weekly downloads
-
License
Unlicense
Repository
-
Last release
1 year ago

Don't use this. Use @authflow-js/verify instead, as that is owned by Authflow's creator.

authflow

A helper for Authflow, a project to make Google OAuth easy. Created for Zarran API.

How do I use this?

Add this to your backend and use Authflow to get a JWT. Send it to "checktoken". If the token is valid it will respond with the user's email, if not it will throw an error.

Example:

import authflow from "authflow"

const token = "token" // Put your Authflow token in here

const mail = await authflow.checktoken(token)
console.log(mail)
1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago