release/v0.7.4
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
| 1 | # smbcloud-auth-sdk |
| 2 | |
| 3 | Client SDK for [smbCloud Auth](https://smbcloud.xyz/). Use your app credentials (`client_id` and `client_secret`) to authenticate users against the smbCloud Auth service. |
| 4 | |
| 5 | ## Usage |
| 6 | |
| 7 | ```rust |
| 8 | use smbcloud_auth_sdk::{ |
| 9 | client_credentials::ClientCredentials, |
| 10 | login::login_with_client, |
| 11 | signup::signup_with_client, |
| 12 | me::me_with_client, |
| 13 | }; |
| 14 | use smbcloud_network::environment::Environment; |
| 15 | |
| 16 | let client = ClientCredentials { |
| 17 | app_id: "your-app-id", |
| 18 | app_secret: "your-app-secret", |
| 19 | }; |
| 20 | |
| 21 | // Sign up |
| 22 | let result = signup_with_client(Environment::Production, client, email, password).await?; |
| 23 | |
| 24 | // Sign in |
| 25 | let status = login_with_client(Environment::Production, client, email, password).await?; |
| 26 | |
| 27 | // Profile |
| 28 | let user = me_with_client(Environment::Production, client, &access_token).await?; |
| 29 | ``` |
| 30 | |
| 31 | See the [smbCloud auth docs](https://smbcloud.xyz/posts) for the wider flow around app credentials and user sessions. |
| 32 | |
| 33 | ## License |
| 34 | |
| 35 | Apache-2.0 |
| 36 | |
| 37 | ## Copyright |
| 38 | |
| 39 | © 2026 [Splitfire AB](https://5mb.app) ([smbCloud](https://smbcloud.xyz)). |