authing 0.1.3 authing: ^0.1.3 copied to clipboard
Authing dart sdk for flutter and dart Apps, you can gently auth to your App with Authing.
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);
print(res.data);
}