@particle-network/auth-core
TypeScript icon, indicating that this package has built-in type declarations

1.4.3 • Public • Published

Particle Auth Core

Start

Init Auth Core with Particle config, you can get the config from Particle Dashboard.

import { particleAuth } from '@particle-network/auth-core';

particleAuth.init({
    projectId: string;
    clientKey: string;
    appId: string;
});

Connect

import { connect } from '@particle-network/auth-core';

const userInfo = await connect({
    email: 'xxx',
    code: 'xx',
});

Learn More

Package Sidebar

Install

npm i @particle-network/auth-core

Weekly Downloads

818

Version

1.4.3

License

Apache-2.0

Unpacked Size

238 kB

Total Files

46

Last publish

Collaborators

  • pantaovay
  • particle-web3