Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- AuthenticationModeHelper.cs
- StartUpEventArgs.cs
- ItemsPanelTemplate.cs
- DeclaredTypeValidator.cs
- KeyFrames.cs
- TcpClientCredentialType.cs
- ConfigXmlComment.cs
- NetworkInformationPermission.cs
- ResourceContainer.cs
- OleDbTransaction.cs
- sqlmetadatafactory.cs
- BindingFormattingDialog.cs
- SendKeys.cs
- WebPartTransformerCollection.cs
- CalendarDesigner.cs
- HtmlControl.cs
- AsymmetricAlgorithm.cs
- FlowchartStart.xaml.cs
- DispatchChannelSink.cs
- GridProviderWrapper.cs
- OdbcEnvironmentHandle.cs
- PackageRelationshipSelector.cs
- Constraint.cs
- AssemblyLoader.cs
- WindowClosedEventArgs.cs
- SectionXmlInfo.cs
- CompensatableSequenceActivity.cs
- DataGridToolTip.cs
- TableLayoutRowStyleCollection.cs
- CompilationUtil.cs
- CodeVariableDeclarationStatement.cs
- StorageEndPropertyMapping.cs
- SQLInt32Storage.cs
- SqlNamer.cs
- ToolStripDropDownClosingEventArgs.cs
- SafeLibraryHandle.cs
- NumberEdit.cs
- ScrollContentPresenter.cs
- NavigationHelper.cs
- StylusEventArgs.cs
- LinqDataSourceUpdateEventArgs.cs
- SqlDependencyUtils.cs
- TextDecoration.cs
- Knowncolors.cs
- RijndaelManaged.cs
- ConsoleKeyInfo.cs
- PagesSection.cs
- MultipleViewProviderWrapper.cs
- SqlDataSourceView.cs
- NetworkInformationPermission.cs
- WorkflowIdleBehavior.cs
- LinkConverter.cs
- LogLogRecord.cs
- WaitHandle.cs
- HttpClientChannel.cs
- PopupRoot.cs
- LayoutEvent.cs
- AbstractDataSvcMapFileLoader.cs
- InvalidWMPVersionException.cs
- IssuanceLicense.cs
- MessageAction.cs
- PixelFormatConverter.cs
- AnnotationHighlightLayer.cs
- PageCopyCount.cs
- SHA256.cs
- EmptyImpersonationContext.cs
- TraceContext.cs
- LoadRetryStrategyFactory.cs
- ViewStateAttachedPropertyFeature.cs
- StreamHelper.cs
- BufferAllocator.cs
- WorkflowExecutor.cs
- DataTemplate.cs
- DataRelationPropertyDescriptor.cs
- DataGridSortCommandEventArgs.cs
- GridEntryCollection.cs
- shaper.cs
- ObjectKeyFrameCollection.cs
- AppSecurityManager.cs
- ConsumerConnectionPoint.cs
- PinnedBufferMemoryStream.cs
- CodeCommentStatement.cs
- RSAOAEPKeyExchangeDeformatter.cs
- HitTestWithPointDrawingContextWalker.cs
- DataTableMappingCollection.cs
- CheckBoxRenderer.cs
- SqlReferenceCollection.cs
- Tokenizer.cs
- ImageClickEventArgs.cs
- CharEntityEncoderFallback.cs
- PaperSize.cs
- WithStatement.cs
- Attributes.cs
- ServiceModelEnumValidatorAttribute.cs
- FixedPageAutomationPeer.cs
- XmlSequenceWriter.cs
- DataGridViewButtonColumn.cs
- ItemChangedEventArgs.cs
- FlagsAttribute.cs
- ImpersonationContext.cs