Sign In

@smbcloud/sdk-auth

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smbcloud/sdk-auth

Browser Auth SDK for smbCloud, built from Rust and WebAssembly.

latest
Source
npmnpm
Version
0.5.1
Version published
Weekly downloads
203
420.51%
Maintainers
2
Weekly downloads
 
Created
Source

Logo
smbCloud SDK Auth

Browser auth SDK for smbCloud.
About · Install · Usage · License

About

@smbcloud/sdk-auth is the browser SDK for smbCloud Auth. It wraps the shared Rust auth crate through WebAssembly so browser apps can use the same auth API as other smbCloud clients.

Current exported browser APIs include:

  • signup_with_client
  • login_with_client
  • logout_with_client
  • me_with_client
  • remove_with_client
  • Environment

Install

npm install @smbcloud/sdk-auth

Usage

import init, {
  Environment,
  login_with_client,
  signup_with_client,
} from "@smbcloud/sdk-auth";

await init();

await signup_with_client(
  Environment.Production,
  "app-id",
  "app-secret",
  "name@example.com",
  "password123",
);

Local packaging

From sdk/npm/smbcloud-auth:

npm run prepare:package
npm run pack:dry-run

This builds the wasm crate, stages the generated artifacts into the npm package folder, and lets you check the publish payload before release.

More browser and platform docs live in the smbCloud developer docs.

License

Apache-2.0

© 2026 Splitfire AB (smbCloud).

Keywords

smbcloud

FAQs

Package last updated on 09 Aug 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts