authing_sdk_v3 1.0.0 copy "authing_sdk_v3: ^1.0.0" to clipboard
authing_sdk_v3: ^1.0.0 copied to clipboard

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_v3/authing.dart';
import 'package:authing_sdk_v3/client.dart';
import 'package:authing_sdk_v3/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.apiCode); // 200 upon success
  }
}
0
likes
0
pub points
45%
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_v3