feature/sdk-workflows
claude/smbcloud-github-app-k9641p
development
feature/apps
feature/build-release
feature/ci-docs
feature/ci-ruby-gems
feature/cicd
feature/completion
feature/dist-nuget
feature/fix-ci-sdk-pypi-rubygem
feature/fix-clippy-on-stable-channel
feature/fix-deployment-script
feature/github-email
feature/gresiq-v1
feature/project-new-structure
feature/rsync-deploy
feature/ruby-runner
feature/sdk-npm
feature/sdk-workflows
feature/smbcloud-cli-release-npm
feature/smbcloud-deploy
feature/wasm
main
release/v0.7.4
smbcloud-auth-sdk
Client SDK for smbCloud Auth — lets you authenticate your users against the smbCloud Auth service using your app credentials (client_id / client_secret).
Usage
use smbcloud_auth_sdk::{
client_credentials::ClientCredentials,
login::login_with_client,
signup::signup_with_client,
me::me_with_client,
};
use smbcloud_network::environment::Environment;
let client = ClientCredentials {
app_id: "your-app-id",
app_secret: "your-app-secret",
};
// Sign up
let result = signup_with_client(Environment::Production, client, email, password).await?;
// Sign in
let status = login_with_client(Environment::Production, client, email, password).await?;
// Profile
let user = me_with_client(Environment::Production, client, &access_token).await?;
Explore more on the smbCloud Services page.
License
Apache-2.0
Copyright
© 2026 smbCloud (Splitfire AB).