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
- SqlServer2KCompatibilityAnnotation.cs
- VersionValidator.cs
- ConfigXmlText.cs
- SelectedPathEditor.cs
- TypedTableBase.cs
- DataRowView.cs
- SqlInternalConnectionTds.cs
- BulletedList.cs
- CodeArrayIndexerExpression.cs
- TTSEngineProxy.cs
- BrushConverter.cs
- SerializationSectionGroup.cs
- GridViewRowPresenterBase.cs
- MimeXmlImporter.cs
- SortableBindingList.cs
- WebServicesSection.cs
- BrushValueSerializer.cs
- MainMenu.cs
- XmlAttributeProperties.cs
- Touch.cs
- StringComparer.cs
- CollectionChangeEventArgs.cs
- HtmlHead.cs
- CodeGenerator.cs
- ADMembershipUser.cs
- TextComposition.cs
- Freezable.cs
- ConfigurationStrings.cs
- TreeNodeCollectionEditorDialog.cs
- State.cs
- List.cs
- ItemType.cs
- mactripleDES.cs
- CodeChecksumPragma.cs
- TextMetrics.cs
- ArraySubsetEnumerator.cs
- MSG.cs
- Util.cs
- AttachInfo.cs
- ComPlusAuthorization.cs
- XamlDesignerSerializationManager.cs
- NavigationProgressEventArgs.cs
- AppDomainProtocolHandler.cs
- CollectionsUtil.cs
- glyphs.cs
- UserMapPath.cs
- BaseTemplateCodeDomTreeGenerator.cs
- APCustomTypeDescriptor.cs
- HtmlInputControl.cs
- KeyValueConfigurationCollection.cs
- ServiceAuthorizationElement.cs
- FilteredReadOnlyMetadataCollection.cs
- ThousandthOfEmRealPoints.cs
- HttpModuleAction.cs
- XmlElementAttributes.cs
- OleDbEnumerator.cs
- PolygonHotSpot.cs
- RenderData.cs
- ViewSimplifier.cs
- LoginUtil.cs
- MinimizableAttributeTypeConverter.cs
- WebPartConnectionCollection.cs
- LogEntry.cs
- Line.cs
- TimeSpanMinutesConverter.cs
- ProgressBar.cs
- AttachedPropertyBrowsableAttribute.cs
- SQLMoney.cs
- Int32Converter.cs
- FindRequestContext.cs
- RsaSecurityToken.cs
- CodeAttributeDeclarationCollection.cs
- storepermission.cs
- Light.cs
- PEFileEvidenceFactory.cs
- SettingsSavedEventArgs.cs
- XmlDataSourceNodeDescriptor.cs
- RsaSecurityToken.cs
- SecurityContextKeyIdentifierClause.cs
- SafeRightsManagementPubHandle.cs
- HttpInputStream.cs
- ToolStripDropDownButton.cs
- DataGridViewColumnStateChangedEventArgs.cs
- SqlInternalConnectionSmi.cs
- RequestContext.cs
- CqlGenerator.cs
- StringUtil.cs
- MediaScriptCommandRoutedEventArgs.cs
- UnsignedPublishLicense.cs
- Normalization.cs
- printdlgexmarshaler.cs
- _NTAuthentication.cs
- AdRotator.cs
- HandleCollector.cs
- RegionData.cs
- PeerNameResolver.cs
- TrackingMemoryStreamFactory.cs
- JobCollate.cs
- Win32.cs
- Rect.cs