fusionauth_dart_client 1.18.0-beta

Dart native
Flutter Android iOS

A starting point for Dart libraries or applications.

FusionAuth Dart Client semver 2.0.0 compliant #

If you're integrating FusionAuth with a Dart or Flutter application, this library will speed up your development time.

For additional information and documentation on FusionAuth refer to https://fusionauth.io.

A library for FusionAuth Dart developers.


Beta notice #

This client is flagged as a beta client due to missing or incomplete features.

Known limitations #

  • The use of some objects are limited due to missing support for dynamic fields (example: custom claims on a jwt). Currently any data placed in json will not render in dart unless the class is explicitly subclassed to contain those fields.

Usage #

A simple usage example:

import 'dart:convert';

import 'package:fusionauth_dart_client/fusionauth_dart_client.dart';

void main() async {
  var client = FusionAuthClient('bf69486b-4733-4470-a592-f1bfce7af580',
      'https://local.fusionauth.io', null);

  var response = await client.searchUsersByQuery(SearchRequest(
      search: UserSearchCriteria(queryString: "email:test@example.com")));

  if (response.successResponse != null) {
    print(json.encode(response.successResponse.users));
  }
}

pubspec.yaml:

dependencies:
  fusionauth_dart_client: ^1.16.0-beta

Features and bugs #

Please file feature requests and bugs at the issue tracker.

2
likes
65
pub points
31%
popularity

Publisher

fusionauth.io

A starting point for Dart libraries or applications.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache 2.0 (LICENSE)

Dependencies

json_annotation

More

Packages that depend on fusionauth_dart_client