mason_auth 0.1.0-dev.1 copy "mason_auth: ^0.1.0-dev.1" to clipboard
mason_auth: ^0.1.0-dev.1 copied to clipboard

discontinuedreplaced by: mason_api

An auth client used by the [Mason CLI](https://github.com/felangel/mason).

mason_auth #

build coverage Pub style: very good analysis License: MIT

An auth client used by the Mason CLI.

import 'package:mason_auth/mason_auth.dart';

const email = 'my@email.com';
const password = 't0pS3cret!';

Future<void> main() async {
  final masonAuth = MasonAuth();

  final user = await masonAuth.login(email: email, password: password);
  print('Logged in as ${user.email}!');

  masonAuth.logout();
  print('Logged out!');
}
2
likes
120
pub points
0%
popularity

Publisher

verified publisherbloc-dev.com

An auth client used by the [Mason CLI](https://github.com/felangel/mason).

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

cli_util, http, json_annotation, meta, path, platform, universal_io

More

Packages that depend on mason_auth