crossmint_auth library

Pure-Dart authentication primitives for the Crossmint SDK.

Exports:

  • CrossmintAuthState — observable auth state (signed-in, signed-out, pending JWT refresh).
  • CrossmintAuthStorage — pluggable session / token store contract.
  • Shared auth models (OAuth providers, email OTP challenges, wallet auth challenges, authenticated user profile).

No Flutter dependency — wire into a Flutter app via crossmint_flutter_auth.dart which adds the OAuth callback router and platform-native storage adapter.