linkWithTicket method
绑定自定义登录
需传入ticket
自定义凭证
Implementation
Future<dynamic> linkWithTicket({required String ticket}) async {
CloudBaseResponse res = await CloudBaseRequest(core)
.post('auth.linkWithTicket', {"ticket": ticket});
print(res);
if (res.code != null) {
throw CloudBaseException(code: res.code!, message: res.message);
}
return res.data;
}