authing_sdk_odds 1.1.8-dev.1 authing_sdk_odds: ^1.1.8-dev.1 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_odds/authing.dart';
import 'package:authing_sdk_odds/client.dart';
import 'package:authing_sdk_odds/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
}
}