using System; namespace LeanCloud { /// /// AuthData 登陆选项 /// public class AVUserAuthDataLogInOption { /// /// unionId platform /// /// unionId platform. public string UnionIdPlatform; /// /// If true, the unionId will be associated with the user. /// /// true If true, the unionId will be associated with the user. false. public bool AsMainAccount; /// /// If true, the login request will fail when no user matches this authData exists. /// /// true If true, the login request will fail when no user matches this authData exists. false. public bool FailOnNotExist; public AVUserAuthDataLogInOption() { UnionIdPlatform = "weixin"; AsMainAccount = false; FailOnNotExist = false; } } }