|
using System;
using System.ComponentModel;
using System.ServiceModel.DomainServices.Client.ApplicationServices;
using System.Security.Principal;
namespace IssueVision.Common
{
public interface IAuthenticationModel : INotifyPropertyChanged
{
void LoadUserAsync();
event EventHandler<LoadUserOperationEventArgs> LoadUserComplete;
void LoginAsync(LoginParameters loginParameters);
event EventHandler<LoginOperationEventArgs> LoginComplete;
void LogoutAsync();
event EventHandler<LogoutOperationEventArgs> LogoutComplete;
IPrincipal User { get; }
Boolean IsBusy { get; }
Boolean IsLoadingUser { get; }
Boolean IsLoggingIn { get; }
Boolean IsLoggingOut { get; }
Boolean IsSavingUser { get; }
event EventHandler<AuthenticationEventArgs> AuthenticationChanged;
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Weidong has been an information system professional since 1990. He has a Master's degree in Computer Science, and is currently a MCSD .NET