chore: 增加判断匿名用户接口
parent
9d3d6092f0
commit
2266887b9a
|
@ -67,6 +67,12 @@ namespace LeanCloud.Storage {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 是否是匿名登录
|
||||||
|
/// </summary>
|
||||||
|
public bool IsAnonymous => AuthData != null &&
|
||||||
|
AuthData.ContainsKey("anonymous");
|
||||||
|
|
||||||
static LCUser currentUser;
|
static LCUser currentUser;
|
||||||
|
|
||||||
public static Task<LCUser> GetCurrent() {
|
public static Task<LCUser> GetCurrent() {
|
||||||
|
|
Loading…
Reference in New Issue