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

1.4.4 • 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

/@particle-network/auth-core/

    Package Sidebar

    Install

    npm i @particle-network/auth-core

    Weekly Downloads

    1,352

    Version

    1.4.4

    License

    Apache-2.0

    Unpacked Size

    332 kB

    Total Files

    47

    Last publish

    Collaborators

    • pantaovay
    • particle-web3