authing 0.2.0

Authing dart sdk for flutter and dart Apps, you can gently auth to your App with Authing.

Authing.dart #

Pub Package style: effective dart

Authing

Authing —— 一个所有人可用的身份管理平台

Authing 是什么? #

Authing 提供身份认证和授权服务,我们提供跨平台的 SDK(Android、iOS 和 Web),帮助开发者和企业使用六行代码拥有邮箱/密码、短信/验证码、扫码登录、社会化登录等功能。

当用户发起授权请求时,Authing 会帮助你认证他们的身份和返回必要的用户信息到你的应用中。

https://github.com/Authing/authing/blob/master/imgs/authing.png?raw=true

开发计划路线图:Authing Roadmap

Installation #

To install authing.dart, Add this to your pubspec.yaml:

dependencies:
  authing: ^0.1.0

Then install:

pub get

Usage #

import 'package:authing/authing.dart';

main() async {
	Options opts = Options(
		userPoolId: '...',
		secret: '...',
	);
	
	/// init authing client
	Authing authing = Authing(opts);
	
	/// handle res
	var res = await authing.register(
		username: 'David Bowie',
		email: 'bowie@mars.uni',
		password: 'hallo-spaceboy'
	);
	
	if (res.hasErrors) {
		print(res.errors);
	} else {
		print(res.data);
	}
}

Style Guide

0
likes
45
pub points
0%
popularity

Authing dart sdk for flutter and dart Apps, you can gently auth to your App with Authing.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

Uploader

udtrokia@gmail.com

License

MIT (LICENSE)

Dependencies

encrypt, graphql, meta, pointycastle

More

Packages that depend on authing