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
- NamedObject.cs
- ExtensionDataReader.cs
- BufferedStream.cs
- CreateSequenceResponse.cs
- ToolStripContentPanel.cs
- CategoryGridEntry.cs
- MulticastNotSupportedException.cs
- _NetworkingPerfCounters.cs
- XamlFrame.cs
- ClientSettingsStore.cs
- WorkflowStateRollbackService.cs
- HMACSHA256.cs
- XmlSchemaObject.cs
- DiscoveryMessageSequenceCD1.cs
- DataGridItemCollection.cs
- Stopwatch.cs
- C14NUtil.cs
- GAC.cs
- CodeAttributeArgument.cs
- TouchPoint.cs
- ConfigurationManagerHelperFactory.cs
- PeerNameResolver.cs
- StrongNameMembershipCondition.cs
- EnumUnknown.cs
- validation.cs
- FixedTextPointer.cs
- ContainerSelectorBehavior.cs
- IndicCharClassifier.cs
- BamlTreeMap.cs
- EncryptedData.cs
- PieceNameHelper.cs
- QilSortKey.cs
- HttpRuntime.cs
- PageStatePersister.cs
- CopyCodeAction.cs
- NetCodeGroup.cs
- METAHEADER.cs
- TransactionChannelFactory.cs
- XmlDocumentSerializer.cs
- ClassicBorderDecorator.cs
- FixedPageProcessor.cs
- MonitoringDescriptionAttribute.cs
- RijndaelManagedTransform.cs
- BamlTreeMap.cs
- DataControlFieldCell.cs
- CssTextWriter.cs
- FixedSOMPageConstructor.cs
- Item.cs
- BatchStream.cs
- CancellationToken.cs
- Matrix3DValueSerializer.cs
- DictionaryTraceRecord.cs
- OdbcConnectionPoolProviderInfo.cs
- UniqueIdentifierService.cs
- Regex.cs
- PerformanceCounterNameAttribute.cs
- SafeRightsManagementQueryHandle.cs
- OfTypeExpression.cs
- TemplateField.cs
- Util.cs
- ThicknessConverter.cs
- SystemIPv4InterfaceProperties.cs
- StorageModelBuildProvider.cs
- TextServicesProperty.cs
- XPathNode.cs
- SapiInterop.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- FileInfo.cs
- GenericEnumConverter.cs
- DashStyle.cs
- RegexNode.cs
- ShaderRenderModeValidation.cs
- _ProxyRegBlob.cs
- FormView.cs
- EntityConnection.cs
- SQLInt32.cs
- Vector3DCollectionConverter.cs
- AppPool.cs
- SatelliteContractVersionAttribute.cs
- AutomationProperty.cs
- JsonDataContract.cs
- AvTrace.cs
- DBConnection.cs
- RequestCachePolicyConverter.cs
- GenericTextProperties.cs
- Win32.cs
- ResponseStream.cs
- CodeRegionDirective.cs
- GiveFeedbackEventArgs.cs
- ComponentResourceKeyConverter.cs
- RuleConditionDialog.cs
- BooleanSwitch.cs
- TextTreeTextElementNode.cs
- SecurityResources.cs
- ListViewCancelEventArgs.cs
- ConfigXmlWhitespace.cs
- HierarchicalDataSourceConverter.cs
- SafeHandle.cs
- Win32SafeHandles.cs
- FontWeightConverter.cs