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
- SecurityValidationBehavior.cs
- IntSecurity.cs
- Point3DAnimationBase.cs
- ActivityMarkupSerializationProvider.cs
- MemberCollection.cs
- BulletChrome.cs
- _HTTPDateParse.cs
- PowerModeChangedEventArgs.cs
- TextEndOfSegment.cs
- PriorityQueue.cs
- ClientSideProviderDescription.cs
- GenericWebPart.cs
- ObjectPersistData.cs
- WrapperSecurityCommunicationObject.cs
- MouseWheelEventArgs.cs
- EventBuilder.cs
- Stack.cs
- ContainerUIElement3D.cs
- GroupItemAutomationPeer.cs
- SiteMembershipCondition.cs
- BmpBitmapEncoder.cs
- PenContext.cs
- PageCache.cs
- FlowNode.cs
- FrameworkElement.cs
- RectangleHotSpot.cs
- BidOverLoads.cs
- Font.cs
- ConnectionsZone.cs
- KerberosRequestorSecurityToken.cs
- ScriptComponentDescriptor.cs
- UserControlBuildProvider.cs
- CompleteWizardStep.cs
- RemoteX509Token.cs
- PrtCap_Public_Simple.cs
- Animatable.cs
- HttpInputStream.cs
- ProjectionCamera.cs
- PackageStore.cs
- OleDbCommandBuilder.cs
- Validator.cs
- QuaternionRotation3D.cs
- arc.cs
- CodeArgumentReferenceExpression.cs
- MenuItem.cs
- TdsValueSetter.cs
- PageAsyncTaskManager.cs
- SQLString.cs
- SessionStateItemCollection.cs
- XmlSchemaCollection.cs
- Brush.cs
- CompiledRegexRunnerFactory.cs
- UnmanagedMemoryAccessor.cs
- OdbcPermission.cs
- MasterPage.cs
- XmlCDATASection.cs
- EndpointDesigner.cs
- TabletDeviceInfo.cs
- SessionEndingCancelEventArgs.cs
- ConfigXmlComment.cs
- CodeExporter.cs
- BackStopAuthenticationModule.cs
- SecurityResources.cs
- GeneralTransformGroup.cs
- TranslateTransform3D.cs
- ThreadStaticAttribute.cs
- ShortcutKeysEditor.cs
- ResourceExpressionBuilder.cs
- SplineQuaternionKeyFrame.cs
- SerializationAttributes.cs
- ReadOnlyTernaryTree.cs
- NamespaceDisplayAutomationPeer.cs
- RtfControlWordInfo.cs
- RequestCacheValidator.cs
- Package.cs
- ServerValidateEventArgs.cs
- ContainerParaClient.cs
- XamlClipboardData.cs
- RoleGroup.cs
- FileVersionInfo.cs
- ConditionalAttribute.cs
- LocalizationComments.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- WebServiceMethodData.cs
- ContentPropertyAttribute.cs
- PropertyHelper.cs
- SafeFileMapViewHandle.cs
- FixedSOMImage.cs
- ReferencedAssembly.cs
- MetadataSource.cs
- DateTimeSerializationSection.cs
- MarkerProperties.cs
- XPathEmptyIterator.cs
- ToolBarPanel.cs
- StylusDownEventArgs.cs
- VSWCFServiceContractGenerator.cs
- ColumnWidthChangingEvent.cs
- DecodeHelper.cs
- ImageCollectionEditor.cs
- FontStyleConverter.cs