crossmint_auth 0.1.1 copy "crossmint_auth: ^0.1.1" to clipboard
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_flutter package family
  • Owns auth models, auth state, and auth storage abstractions
  • Usually consumed transitively through crossmint_flutter
  • In this workspace, local dependency overrides keep crossmint_core resolvable during monorepo development

What it owns #

  • CrossmintAuthSession
  • CrossmintAuthenticatedUser
  • CrossmintEmailOtpChallenge
  • CrossmintAuthState and related state variants
  • CrossmintAuthStorage

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.

0
likes
140
points
1.19k
downloads

Documentation

API reference

Publisher

verified publishercrossmint.com

Weekly Downloads

Pure-Dart authentication primitives for the Crossmint Flutter SDK — auth state, session storage, and shared models.

Homepage
Repository (GitHub)
View/report issues

Topics

#crossmint #authentication

License

Apache-2.0 (license)

Dependencies

crossmint_core

More

Packages that depend on crossmint_auth