authing_sdk 1.1.5 copy "authing_sdk: ^1.1.5" to clipboard
authing_sdk: ^1.1.5 copied to clipboard

outdated

Authing SDK for Flutter. It provides basic authentication APIs, user profile APIs, social connection APIs, Multi-factor Authentication APIs

example/main.dart

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
  }
}
8
likes
0
pub points
55%
popularity

Publisher

verified publisherflutter.authing.cn

Authing SDK for Flutter. It provides basic authentication APIs, user profile APIs, social connection APIs, Multi-factor Authentication APIs

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

crypto, encrypt, flutter, http, pointycastle, shared_preferences

More

Packages that depend on authing_sdk