crossmint_auth 0.1.1
crossmint_auth: ^0.1.1 copied to clipboard
Pure-Dart authentication primitives for the Crossmint Flutter SDK — auth state, session storage, and shared models.
crossmint_auth #
Shared pure-Dart auth primitives for the Crossmint Flutter SDK family.
Status #
- Published support package in the
crossmint_flutterpackage family - Owns auth models, auth state, and auth storage abstractions
- Usually consumed transitively through
crossmint_flutter - In this workspace, local dependency overrides keep
crossmint_coreresolvable during monorepo development
What it owns #
CrossmintAuthSessionCrossmintAuthenticatedUserCrossmintEmailOtpChallengeCrossmintAuthStateand related state variantsCrossmintAuthStorage
Public library #
package:crossmint_auth/crossmint_auth.dart
Example #
import 'package:crossmint_auth/crossmint_auth.dart';
const session = CrossmintAuthSession(
jwt: 'jwt_123',
userId: 'user_123',
);
Relationship to crossmint_flutter #
Flutter apps should usually import the re-exported surface from
package:crossmint_flutter/crossmint_auth.dart for pure auth types or
package:crossmint_flutter/crossmint_flutter_auth.dart when Flutter-specific
auth integration helpers are needed.