Property | Type | Description | |
---|---|---|---|
CurrentStateProperty | |||
IsLoggedOffProperty | |||
IsLoggedOnProperty | |||
IsLoggingOffProperty | |||
IsLoggingOnProperty | |||
LogOnFailedMessageProperty | |||
ShowLogOnFailedHintProperty |
Method | Description | |
---|---|---|
Initialize ( ) : void |
初始化用户状态
|
|
LogOff ( ) : void |
注销
|
|
LogOn ( ) : void |
登录
|
Method | Description | |
---|---|---|
LogOnWithEmail ( string email, string password ) : DoubanFM.Core.Json.LogOnResult |
使用邮箱登录
|
|
LogOnWithUsername ( string username, string password ) : DoubanFM.Core.Json.LogOnResult |
使用用户名登录
|
|
RaiseCurrentStateChangedEvent ( State oldState, State newState ) : void | ||
RaiseLogOffFailedEvent ( ) : void | ||
RaiseLogOffSucceedEvent ( ) : void | ||
RaiseLogOnFailedEvent ( ) : void | ||
RaiseLogOnSucceedEvent ( ) : void | ||
ResetUser ( ) : void |
重置与用户有关的所有附加信息
|
|
UpdateUserInfo ( ) : bool |
更新用户信息
|
|
UpdateWhenLogOn ( DoubanFM.Core.Json.LogOnResult result ) : void |
更新验证码 根据douban.fm的主页的HTML代码更新登录状态 根据服务器返回的登录结果更新登录状态
|
public static DependencyProperty,System.Windows CurrentStateProperty | ||
return |
public static DependencyProperty,System.Windows IsLoggedOffProperty | ||
return |
public static DependencyProperty,System.Windows IsLoggedOnProperty | ||
return |
public static DependencyProperty,System.Windows IsLoggingOffProperty | ||
return |
public static DependencyProperty,System.Windows IsLoggingOnProperty | ||
return |
public static DependencyProperty,System.Windows LogOnFailedMessageProperty | ||
return |