Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Security / SupportingTokenProviderSpecification.cs / 1 / SupportingTokenProviderSpecification.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 SupportingTokenProviderSpecification
{
SecurityTokenAttachmentMode tokenAttachmentMode;
SecurityTokenProvider tokenProvider;
SecurityTokenParameters tokenParameters;
public SupportingTokenProviderSpecification(SecurityTokenProvider tokenProvider, SecurityTokenAttachmentMode attachmentMode, SecurityTokenParameters tokenParameters)
{
if (tokenProvider == null)
{
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("tokenProvider");
}
SecurityTokenAttachmentModeHelper.Validate(attachmentMode);
if (tokenParameters == null)
{
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("tokenParameters");
}
this.tokenProvider = tokenProvider;
this.tokenAttachmentMode = attachmentMode;
this.tokenParameters = tokenParameters;
}
public SecurityTokenProvider TokenProvider
{
get { return this.tokenProvider; }
}
public SecurityTokenAttachmentMode SecurityTokenAttachmentMode
{
get { return this.tokenAttachmentMode; }
}
public SecurityTokenParameters TokenParameters
{
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
- ClientApiGenerator.cs
- ByteStack.cs
- XdrBuilder.cs
- RightsManagementEncryptionTransform.cs
- XmlCompatibilityReader.cs
- UrlPropertyAttribute.cs
- MinimizableAttributeTypeConverter.cs
- ConfigViewGenerator.cs
- ConnectionManagementElementCollection.cs
- MemoryMappedView.cs
- Vars.cs
- EpmContentSerializer.cs
- NamespaceCollection.cs
- TdsParserSafeHandles.cs
- XmlSchemaSimpleTypeRestriction.cs
- RootProfilePropertySettingsCollection.cs
- FragmentNavigationEventArgs.cs
- WebPartManagerInternals.cs
- ListViewItemEventArgs.cs
- XmlSchemaAnnotation.cs
- GeneralTransformCollection.cs
- Type.cs
- Substitution.cs
- ProfilePropertyMetadata.cs
- ConfigUtil.cs
- WebBrowserNavigatedEventHandler.cs
- DataFormat.cs
- SendKeys.cs
- TypefaceMap.cs
- WebPartCollection.cs
- CalloutQueueItem.cs
- SimpleLine.cs
- ProfileSettingsCollection.cs
- WpfWebRequestHelper.cs
- SHA256Managed.cs
- PanelStyle.cs
- SymLanguageVendor.cs
- GridItemCollection.cs
- ImageAttributes.cs
- EdmProviderManifest.cs
- XmlCustomFormatter.cs
- JulianCalendar.cs
- CFGGrammar.cs
- ApplicationFileCodeDomTreeGenerator.cs
- DesignerActionListCollection.cs
- NetSectionGroup.cs
- DesigntimeLicenseContextSerializer.cs
- PageCache.cs
- SystemPens.cs
- _LazyAsyncResult.cs
- RankException.cs
- StrokeIntersection.cs
- StringAnimationBase.cs
- Number.cs
- DES.cs
- Label.cs
- HtmlTextArea.cs
- RichTextBoxAutomationPeer.cs
- HtmlSelect.cs
- ProgressBar.cs
- WebPartCloseVerb.cs
- Bidi.cs
- DataSourceHelper.cs
- MimeObjectFactory.cs
- EdmFunction.cs
- XmlSchemaSimpleType.cs
- EntityKeyElement.cs
- ArrangedElement.cs
- CustomPeerResolverService.cs
- ValidatedMobileControlConverter.cs
- XmlTextReader.cs
- Stack.cs
- ResourceManager.cs
- Schedule.cs
- SingleStorage.cs
- PipelineModuleStepContainer.cs
- AuthorizationRule.cs
- CommonRemoteMemoryBlock.cs
- HttpCookie.cs
- _FtpDataStream.cs
- ReceiveActivityDesigner.cs
- Stylus.cs
- EnumUnknown.cs
- NamedElement.cs
- HMAC.cs
- LogEntryUtils.cs
- TextTreeFixupNode.cs
- XmlSchemaElement.cs
- XmlNavigatorStack.cs
- PrintControllerWithStatusDialog.cs
- Soap12ProtocolImporter.cs
- SelectQueryOperator.cs
- smtpconnection.cs
- NamespaceTable.cs
- ApplicationException.cs
- SqlDataSourceEnumerator.cs
- BuildManagerHost.cs
- UniqueConstraint.cs
- TagMapInfo.cs
- ActivityExecutorOperation.cs