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
- FontEditor.cs
- basenumberconverter.cs
- XmlDocumentFragment.cs
- NavigatorInput.cs
- Repeater.cs
- InputElement.cs
- ObjectListTitleAttribute.cs
- DeflateStream.cs
- Automation.cs
- TextEditor.cs
- ProviderBase.cs
- Registry.cs
- AddressAccessDeniedException.cs
- ColumnResult.cs
- ISAPIRuntime.cs
- ObjectStateEntry.cs
- SqlBulkCopyColumnMappingCollection.cs
- ApplicationId.cs
- CodeBlockBuilder.cs
- CommandManager.cs
- FieldMetadata.cs
- KeyValuePair.cs
- DSACryptoServiceProvider.cs
- ParameterExpression.cs
- WebPartVerb.cs
- AuthenticationModeHelper.cs
- HatchBrush.cs
- SystemIcons.cs
- OAVariantLib.cs
- x509utils.cs
- BasePattern.cs
- DesignerActionVerbItem.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- WebPartUserCapability.cs
- XPathItem.cs
- XmlNullResolver.cs
- TableItemStyle.cs
- Matrix.cs
- TabItem.cs
- RefType.cs
- FormViewInsertedEventArgs.cs
- _OverlappedAsyncResult.cs
- InputLangChangeEvent.cs
- KeyTime.cs
- SecurityState.cs
- nulltextcontainer.cs
- RegisteredHiddenField.cs
- ToolStripItemTextRenderEventArgs.cs
- LeafCellTreeNode.cs
- CalloutQueueItem.cs
- XmlDocumentViewSchema.cs
- MessageSecurityProtocol.cs
- SqlConnectionStringBuilder.cs
- UIElement.cs
- BinaryObjectWriter.cs
- ImageSource.cs
- RequestUriProcessor.cs
- Positioning.cs
- ColumnProvider.cs
- ByteStack.cs
- StrokeNodeOperations.cs
- SecurityUtils.cs
- InvalidCastException.cs
- ForEachAction.cs
- SettingsAttributes.cs
- SplitContainer.cs
- Matrix.cs
- StoreContentChangedEventArgs.cs
- FunctionUpdateCommand.cs
- TypeUsage.cs
- SuppressIldasmAttribute.cs
- SqlDelegatedTransaction.cs
- RequiredAttributeAttribute.cs
- BindingValueChangedEventArgs.cs
- UserControlDocumentDesigner.cs
- ByteStorage.cs
- HttpInputStream.cs
- SqlMethodCallConverter.cs
- CertificateManager.cs
- RegisteredArrayDeclaration.cs
- DocumentReference.cs
- Rules.cs
- XsdCachingReader.cs
- Subordinate.cs
- NavigationProperty.cs
- AnimationException.cs
- Dynamic.cs
- StrongNameMembershipCondition.cs
- DynamicMetaObject.cs
- GrammarBuilder.cs
- WebPartTransformer.cs
- TextTreeFixupNode.cs
- TemplateXamlParser.cs
- PcmConverter.cs
- XmlTextAttribute.cs
- dbdatarecord.cs
- XmlSerializerVersionAttribute.cs
- TraceListeners.cs
- Light.cs
- CodeAttributeDeclaration.cs