signInByWx method

Future<CloudBaseAuthState> signInByWx({
  1. required String wxAppId,
  2. required String wxUniLink,
})

微信登录

Implementation

Future<CloudBaseAuthState> signInByWx(
    {required String wxAppId, required String wxUniLink}) async {
  if (_wxAuthProvider == null) {
    _wxAuthProvider = WxAuthProvider(super.core);
  }

  CloudBaseAuthState authState =
      await _wxAuthProvider!.signInByWx(wxAppId, wxUniLink);

  return authState;
}