lark_auth 0.0.1
lark_auth: ^0.0.1 copied to clipboard
lark_sso_sdk.
lark_auth #
A new Flutter plugin project.
Getting Started #
This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
how to use #
LarkAuth larkAuth = LarkAuth();
<!-- 配置appId -->
larkAuth.setConfig(
appId: "cli_a5edba68867f5013",
).then((value) {
Fluttertoast.showToast(msg: "配置飞书成功");
});
<!-- 开始授权,返回code -->
larkAuth.startSSOVerify().then((value) {
Fluttertoast.showToast(msg: "${value}");
});