Skip to content

aydynx/cio-auth-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cracked.io auth js edition

usage

npm i -s cio-auth

if u want non premium users to be able to use your tools, add false as the first argument to the login function

cjs

const cioAuth = require('cio-auth');

async function authenticate() {
    await cioAuth.login();
};
await authenticate();

//anything after the autenticate function will be ran if the user is authenticated
console.log("Hello, authenticated user!");

es6/ts

import cioAuth from "cio-auth";

await cioAuth.login();

//anything after the autenticate function will be ran if the user is authenticated
console.log("Hello, authenticated user!");

notes

  • contact me if this stops working or u have bugs or dont know how to use it
  • i threw this together in 30 mins its probably not perfect

About

token auth for cracked.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages