authing_sdk 1.0.6 authing_sdk: ^1.0.6 copied to clipboard
Authing SDK for Flutter. It provides basic authentication APIs, user profile APIs, social connection APIs, Multi-factor Authentication APIs
import 'package:authing_sdk/authing.dart';
import 'package:authing_sdk/client.dart';
import 'package:authing_sdk/result.dart';
class MyApp {
String pool = "pool id";
String appId = "app id";
login() async {
Authing.init(pool, appId);
AuthResult result = await AuthClient.loginByAccount("username / phone/ email", "clear text password");
print(result.code); // 200 upon success
}
}