Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / xsp / System / Web / Extensions / ApplicationServices / AuthenticatingEventArgs.cs / 1 / AuthenticatingEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.ApplicationServices { using System; using System.Security.Permissions; using System.Web; [ AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal), AspNetHostingPermission(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal) ] public class AuthenticatingEventArgs : EventArgs { private bool _authenticated; public bool Authenticated { get { return _authenticated; } set { _authenticated = value; } } private bool _authenticationIsComplete; public bool AuthenticationIsComplete { get { return _authenticationIsComplete; } set { _authenticationIsComplete = value; } } private string _userName; public string UserName { get { return _userName; } } private string _password; public string Password { get { return _password; } } private string _customCredential; public string CustomCredential { get { return _customCredential; } } internal AuthenticatingEventArgs(string username, string password, string customCredential) { _authenticated = false; _authenticationIsComplete = false; _userName = username; _password = password; _customCredential = customCredential; } //hiding default constructor private AuthenticatingEventArgs() { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.ApplicationServices { using System; using System.Security.Permissions; using System.Web; [ AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal), AspNetHostingPermission(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal) ] public class AuthenticatingEventArgs : EventArgs { private bool _authenticated; public bool Authenticated { get { return _authenticated; } set { _authenticated = value; } } private bool _authenticationIsComplete; public bool AuthenticationIsComplete { get { return _authenticationIsComplete; } set { _authenticationIsComplete = value; } } private string _userName; public string UserName { get { return _userName; } } private string _password; public string Password { get { return _password; } } private string _customCredential; public string CustomCredential { get { return _customCredential; } } internal AuthenticatingEventArgs(string username, string password, string customCredential) { _authenticated = false; _authenticationIsComplete = false; _userName = username; _password = password; _customCredential = customCredential; } //hiding default constructor private AuthenticatingEventArgs() { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OpCodes.cs
- httpstaticobjectscollection.cs
- SyntaxCheck.cs
- DataGridViewLinkCell.cs
- ProxyAttribute.cs
- SmiMetaData.cs
- InterleavedZipPartStream.cs
- WindowsEditBox.cs
- SymLanguageType.cs
- DataServiceRequestException.cs
- FaultException.cs
- TypeGeneratedEventArgs.cs
- PhysicalFontFamily.cs
- Substitution.cs
- SecurityElement.cs
- PolyLineSegment.cs
- RelationshipNavigation.cs
- Char.cs
- SolidColorBrush.cs
- DoubleUtil.cs
- SystemFonts.cs
- SizeChangedEventArgs.cs
- SpecularMaterial.cs
- TailCallAnalyzer.cs
- BooleanFunctions.cs
- TerminatorSinks.cs
- ParallelTimeline.cs
- DoubleUtil.cs
- DecoderReplacementFallback.cs
- XmlSchemaSimpleTypeRestriction.cs
- TextParaLineResult.cs
- DropTarget.cs
- CodeAttributeArgumentCollection.cs
- ScriptReferenceEventArgs.cs
- _NegotiateClient.cs
- GridViewRowEventArgs.cs
- SoundPlayer.cs
- Column.cs
- WizardStepBase.cs
- StreamWithDictionary.cs
- XmlAnyElementAttributes.cs
- ElapsedEventArgs.cs
- HttpResponseInternalWrapper.cs
- ItemChangedEventArgs.cs
- XmlnsCompatibleWithAttribute.cs
- OleDbException.cs
- BitmapCodecInfo.cs
- NullableConverter.cs
- OverrideMode.cs
- COM2EnumConverter.cs
- Pen.cs
- CollectionChangeEventArgs.cs
- EmptyQuery.cs
- Double.cs
- ToolStripItemImageRenderEventArgs.cs
- ListItemDetailViewAttribute.cs
- StructuralObject.cs
- InstancePersistenceException.cs
- RequestCachePolicy.cs
- MediaElementAutomationPeer.cs
- TextElementEnumerator.cs
- FormsAuthenticationTicket.cs
- DateTime.cs
- IIS7UserPrincipal.cs
- DataGridViewColumnCollection.cs
- SystemSounds.cs
- BitVector32.cs
- MetadataPropertyvalue.cs
- FlowDocumentPage.cs
- SortQuery.cs
- GradientStop.cs
- SqlMethodCallConverter.cs
- SspiSafeHandles.cs
- ScriptManagerProxy.cs
- KeyInfo.cs
- ConsumerConnectionPoint.cs
- VBIdentifierName.cs
- Vector3DIndependentAnimationStorage.cs
- PersistenceTask.cs
- ValidationPropertyAttribute.cs
- MarkerProperties.cs
- ScopelessEnumAttribute.cs
- CheckBoxPopupAdapter.cs
- StrokeIntersection.cs
- ColorTranslator.cs
- ColorDialog.cs
- WebUtil.cs
- CloseCollectionAsyncResult.cs
- ImportCatalogPart.cs
- Simplifier.cs
- HealthMonitoringSection.cs
- IndexedWhereQueryOperator.cs
- EntityDesignerUtils.cs
- DockingAttribute.cs
- NavigationPropertyAccessor.cs
- Matrix3D.cs
- ArithmeticException.cs
- DataGridColumn.cs
- WindowsPrincipal.cs
- X509IssuerSerialKeyIdentifierClause.cs