Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Security / SupportingTokenAuthenticatorSpecification.cs / 1 / SupportingTokenAuthenticatorSpecification.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.Security { using System.IdentityModel.Selectors; using System.ServiceModel; using System.ServiceModel.Security.Tokens; class SupportingTokenAuthenticatorSpecification { SecurityTokenAttachmentMode tokenAttachmentMode; SecurityTokenAuthenticator tokenAuthenticator; SecurityTokenResolver tokenResolver; SecurityTokenParameters tokenParameters; bool isTokenOptional; public SupportingTokenAuthenticatorSpecification(SecurityTokenAuthenticator tokenAuthenticator, SecurityTokenResolver securityTokenResolver, SecurityTokenAttachmentMode attachmentMode, SecurityTokenParameters tokenParameters) : this(tokenAuthenticator, securityTokenResolver, attachmentMode, tokenParameters, false) { } internal SupportingTokenAuthenticatorSpecification(SecurityTokenAuthenticator tokenAuthenticator, SecurityTokenResolver securityTokenResolver, SecurityTokenAttachmentMode attachmentMode, SecurityTokenParameters tokenParameters, bool isTokenOptional) { if (tokenAuthenticator == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("tokenAuthenticator"); } SecurityTokenAttachmentModeHelper.Validate(attachmentMode); if (tokenParameters == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("tokenParameters"); } this.tokenAuthenticator = tokenAuthenticator; this.tokenResolver = securityTokenResolver; this.tokenAttachmentMode = attachmentMode; this.tokenParameters = tokenParameters; this.isTokenOptional = isTokenOptional; } public SecurityTokenAuthenticator TokenAuthenticator { get { return this.tokenAuthenticator; } } public SecurityTokenResolver TokenResolver { get { return this.tokenResolver; } } public SecurityTokenAttachmentMode SecurityTokenAttachmentMode { get { return this.tokenAttachmentMode; } } public SecurityTokenParameters TokenParameters { get { return this.tokenParameters; } } internal bool IsTokenOptional { get { return this.isTokenOptional; } set { this.isTokenOptional = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ReachDocumentReferenceCollectionSerializerAsync.cs
- EventPrivateKey.cs
- SystemException.cs
- ClientRuntimeConfig.cs
- OdbcReferenceCollection.cs
- TransportOutputChannel.cs
- ReadOnlyObservableCollection.cs
- SafeProcessHandle.cs
- CheckoutException.cs
- IResourceProvider.cs
- OpCellTreeNode.cs
- WriteableOnDemandPackagePart.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- Connection.cs
- AddDataControlFieldDialog.cs
- BamlLocalizer.cs
- RegexCaptureCollection.cs
- ReturnEventArgs.cs
- SvcMapFileSerializer.cs
- TextEffect.cs
- PrinterSettings.cs
- TextSerializer.cs
- WebBrowserContainer.cs
- TextRunTypographyProperties.cs
- AppSettings.cs
- TextRunTypographyProperties.cs
- PrimitiveDataContract.cs
- X509Chain.cs
- OverflowException.cs
- DependencyObjectProvider.cs
- SudsCommon.cs
- Model3DGroup.cs
- StrokeNodeOperations.cs
- NativeWindow.cs
- EvidenceTypeDescriptor.cs
- ColumnBinding.cs
- StrokeNode.cs
- XD.cs
- MsmqDiagnostics.cs
- Int16.cs
- EntityContainerRelationshipSet.cs
- StickyNoteHelper.cs
- Track.cs
- Deflater.cs
- Int16Animation.cs
- UnmanagedMemoryStreamWrapper.cs
- EmptyStringExpandableObjectConverter.cs
- SQLString.cs
- SiteMapHierarchicalDataSourceView.cs
- Margins.cs
- XsdCachingReader.cs
- SizeKeyFrameCollection.cs
- DbInsertCommandTree.cs
- Rect3D.cs
- PersistenceException.cs
- DiscoveryViaBehavior.cs
- figurelengthconverter.cs
- CustomValidator.cs
- ListViewDataItem.cs
- LoginDesigner.cs
- ProcessMonitor.cs
- UnaryNode.cs
- PrivilegeNotHeldException.cs
- ValuePatternIdentifiers.cs
- IndexExpression.cs
- XslAst.cs
- XmlSchemaInclude.cs
- FixedHighlight.cs
- Size.cs
- TraceHandlerErrorFormatter.cs
- PropertyTabChangedEvent.cs
- CalendarTable.cs
- OleCmdHelper.cs
- ScriptRef.cs
- selecteditemcollection.cs
- ReversePositionQuery.cs
- IImplicitResourceProvider.cs
- Condition.cs
- RequestSecurityTokenForRemoteTokenFactory.cs
- SqlRecordBuffer.cs
- ValidationHelper.cs
- ComponentFactoryHelpers.cs
- ToolBarPanel.cs
- EventLogPermissionAttribute.cs
- CorePropertiesFilter.cs
- FillErrorEventArgs.cs
- PartialCachingControl.cs
- RTTrackingProfile.cs
- XpsFilter.cs
- ListenerConfig.cs
- GeometryCollection.cs
- Crc32.cs
- ServiceReference.cs
- FlowLayoutPanel.cs
- WebPartCloseVerb.cs
- DatatypeImplementation.cs
- BinaryCommonClasses.cs
- NotificationContext.cs
- SqlGatherProducedAliases.cs
- PagesChangedEventArgs.cs