Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Security / SupportingTokenSpecification.cs / 1 / SupportingTokenSpecification.cs
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------
namespace System.ServiceModel.Security
{
using System.Collections.ObjectModel;
using System.ServiceModel;
using System.IdentityModel.Policy;
using System.IdentityModel.Tokens;
using System.ServiceModel.Security.Tokens;
public class SupportingTokenSpecification : SecurityTokenSpecification
{
SecurityTokenAttachmentMode tokenAttachmentMode;
SecurityTokenParameters tokenParameters;
public SupportingTokenSpecification(SecurityToken token, ReadOnlyCollection tokenPolicies, SecurityTokenAttachmentMode attachmentMode)
: this(token, tokenPolicies, attachmentMode, null)
{ }
internal SupportingTokenSpecification(SecurityToken token, ReadOnlyCollection tokenPolicies, SecurityTokenAttachmentMode attachmentMode, SecurityTokenParameters tokenParameters)
: base(token, tokenPolicies)
{
SecurityTokenAttachmentModeHelper.Validate(attachmentMode);
this.tokenAttachmentMode = attachmentMode;
this.tokenParameters = tokenParameters;
}
public SecurityTokenAttachmentMode SecurityTokenAttachmentMode
{
get { return this.tokenAttachmentMode; }
}
internal SecurityTokenParameters SecurityTokenParameters
{
get { return this.tokenParameters; }
}
}
}
// 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
- KeyFrames.cs
- TextSelectionProcessor.cs
- NTAccount.cs
- PropertyRecord.cs
- DataBindingHandlerAttribute.cs
- MultipartContentParser.cs
- Attributes.cs
- DataControlFieldCell.cs
- MaskInputRejectedEventArgs.cs
- PageParserFilter.cs
- IRCollection.cs
- SmiXetterAccessMap.cs
- AlignmentYValidation.cs
- CodeExporter.cs
- SpellerInterop.cs
- Int16.cs
- SemaphoreSecurity.cs
- ContentElement.cs
- UrlAuthFailedErrorFormatter.cs
- CompilationSection.cs
- ToolStripContentPanelRenderEventArgs.cs
- SmiRequestExecutor.cs
- InputEventArgs.cs
- ProxyGenerator.cs
- Operand.cs
- ISessionStateStore.cs
- TypeBuilderInstantiation.cs
- XmlSchema.cs
- XPathCompileException.cs
- DelayedRegex.cs
- XPathAncestorQuery.cs
- PersonalizationStateQuery.cs
- PerfCounters.cs
- NotifyInputEventArgs.cs
- RepeaterDataBoundAdapter.cs
- HelpKeywordAttribute.cs
- BStrWrapper.cs
- VectorCollectionConverter.cs
- XmlSchemaDocumentation.cs
- ActivityBindForm.cs
- Int32Storage.cs
- PropertyGeneratedEventArgs.cs
- TimeStampChecker.cs
- SqlClientWrapperSmiStream.cs
- LinqDataSourceEditData.cs
- DocumentPage.cs
- ShapingEngine.cs
- RemoteWebConfigurationHost.cs
- NamespaceMapping.cs
- DependencyProperty.cs
- WebPartVerb.cs
- HtmlInputPassword.cs
- ToolStripOverflowButton.cs
- ApplicationSecurityManager.cs
- TabletCollection.cs
- BasicExpressionVisitor.cs
- ConstraintCollection.cs
- Thread.cs
- DesignerInterfaces.cs
- ControlIdConverter.cs
- CodePrimitiveExpression.cs
- DiagnosticTraceSource.cs
- RangeBaseAutomationPeer.cs
- HtmlPhoneCallAdapter.cs
- OracleCommandBuilder.cs
- DbConnectionInternal.cs
- translator.cs
- LookupBindingPropertiesAttribute.cs
- FileDetails.cs
- BitSet.cs
- CalendarDay.cs
- AnnouncementService.cs
- ControlParameter.cs
- ObfuscationAttribute.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- DynamicMethod.cs
- Rect.cs
- UpdateProgress.cs
- MethodBuilderInstantiation.cs
- DocumentGridPage.cs
- Geometry3D.cs
- CreationContext.cs
- CommandEventArgs.cs
- TagPrefixCollection.cs
- DataGridViewComboBoxColumn.cs
- RegexBoyerMoore.cs
- DataGridViewHitTestInfo.cs
- FixedSOMSemanticBox.cs
- Rotation3D.cs
- ActivityMarkupSerializationProvider.cs
- TableTextElementCollectionInternal.cs
- FormsAuthenticationUser.cs
- Group.cs
- SecurityResources.cs
- Utils.cs
- FileDataSourceCache.cs
- ExpressionBuilderContext.cs
- PersistChildrenAttribute.cs
- RelatedCurrencyManager.cs
- AnyReturnReader.cs