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
- CalendarDesigner.cs
- FontStretchConverter.cs
- DataGridCell.cs
- XmlWrappingReader.cs
- SqlServer2KCompatibilityCheck.cs
- BasicBrowserDialog.designer.cs
- ScriptingProfileServiceSection.cs
- WmfPlaceableFileHeader.cs
- localization.cs
- MultiViewDesigner.cs
- wgx_sdk_version.cs
- ListBoxItemAutomationPeer.cs
- HttpListenerException.cs
- SQLDateTimeStorage.cs
- SizeChangedInfo.cs
- File.cs
- BitmapInitialize.cs
- PropertyMapper.cs
- OdbcInfoMessageEvent.cs
- ConfigurationValidatorBase.cs
- HtmlTable.cs
- ADRoleFactoryConfiguration.cs
- TogglePatternIdentifiers.cs
- ApplicationDirectory.cs
- SmiContextFactory.cs
- WindowsFont.cs
- GridViewDeletedEventArgs.cs
- StrongNameMembershipCondition.cs
- StateWorkerRequest.cs
- BitmapMetadataBlob.cs
- StorageEntityContainerMapping.cs
- SerializationSectionGroup.cs
- SortFieldComparer.cs
- DirectionalLight.cs
- PointLightBase.cs
- Rectangle.cs
- CancelEventArgs.cs
- Int16AnimationUsingKeyFrames.cs
- SelectionProviderWrapper.cs
- Events.cs
- CommandLibraryHelper.cs
- ValidationError.cs
- StatementContext.cs
- Documentation.cs
- NewArrayExpression.cs
- FixedDocument.cs
- ListBindingHelper.cs
- XmlDataDocument.cs
- WindowsScrollBarBits.cs
- CatalogPartCollection.cs
- CustomAttributeBuilder.cs
- StreamAsIStream.cs
- IPipelineRuntime.cs
- ScriptBehaviorDescriptor.cs
- ProjectionCamera.cs
- SoapInteropTypes.cs
- GraphicsContainer.cs
- AnnotationDocumentPaginator.cs
- DataSysAttribute.cs
- BitmapVisualManager.cs
- RowsCopiedEventArgs.cs
- DataControlHelper.cs
- TransformerInfo.cs
- precedingquery.cs
- MediaPlayerState.cs
- FixUpCollection.cs
- DefaultPrintController.cs
- DataGridViewColumnHeaderCell.cs
- Style.cs
- ConfigurationSettings.cs
- _FtpControlStream.cs
- ConfigurationValues.cs
- Container.cs
- odbcmetadatacolumnnames.cs
- DecoratedNameAttribute.cs
- SpeakInfo.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- MenuAutomationPeer.cs
- BuildProvider.cs
- TextWriterTraceListener.cs
- DataGridBoolColumn.cs
- SharedPersonalizationStateInfo.cs
- ValidationSummaryDesigner.cs
- DeclaredTypeElementCollection.cs
- FlowDocumentScrollViewer.cs
- ItemCheckEvent.cs
- ProfileBuildProvider.cs
- InstanceBehavior.cs
- Decoder.cs
- XsdDuration.cs
- BooleanProjectedSlot.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- Type.cs
- translator.cs
- RotateTransform3D.cs
- ExtractedStateEntry.cs
- UrlPropertyAttribute.cs
- safelink.cs
- StickyNoteHelper.cs
- FrameworkContentElement.cs