//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//------------------------------------------------------------------------------
namespace System.Web.UI.WebControls {
public class AuthenticateEventArgs : EventArgs {
private bool _authenticated;
public AuthenticateEventArgs() : this(false) {
}
public AuthenticateEventArgs(bool authenticated) {
_authenticated = authenticated;
}
///
/// Gets or sets the success of the authentication attempt. Would be set by
/// custom authentication logic in the Login.Authenticate event handler.
///
public bool Authenticated {
get {
return _authenticated;
}
set {
_authenticated = value;
}
}
}
}