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
- IgnorePropertiesAttribute.cs
- AnonymousIdentificationSection.cs
- DataGridViewCellValueEventArgs.cs
- WindowsTooltip.cs
- CheckPair.cs
- VisualBasicExpressionConverter.cs
- XmlAtomicValue.cs
- EditorOptionAttribute.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- AnimatedTypeHelpers.cs
- SplitterPanel.cs
- Metafile.cs
- WeakEventManager.cs
- NullableDecimalAverageAggregationOperator.cs
- DetectEofStream.cs
- InputGestureCollection.cs
- UInt32.cs
- ByteViewer.cs
- ComponentEvent.cs
- PropertyInfoSet.cs
- FileSystemEventArgs.cs
- GenericTypeParameterBuilder.cs
- NamedObject.cs
- UInt16Converter.cs
- ValidationSummary.cs
- XmlArrayItemAttribute.cs
- XmlSchemaObject.cs
- Separator.cs
- MD5CryptoServiceProvider.cs
- ErrorProvider.cs
- EventProviderBase.cs
- ApplicationFileParser.cs
- PageParserFilter.cs
- EdmItemError.cs
- ExpressionBuilderCollection.cs
- ParserContext.cs
- ProjectionPlan.cs
- DesignerAutoFormatStyle.cs
- TraceFilter.cs
- HttpCacheVaryByContentEncodings.cs
- DesignerHelpers.cs
- WebPartCollection.cs
- KeyGestureValueSerializer.cs
- ElementsClipboardData.cs
- DataGridViewColumn.cs
- AdjustableArrowCap.cs
- PrintEvent.cs
- RTLAwareMessageBox.cs
- SmiEventSink_Default.cs
- CreateUserWizardStep.cs
- ListViewHitTestInfo.cs
- XmlILModule.cs
- Cursor.cs
- _AcceptOverlappedAsyncResult.cs
- SafeCryptHandles.cs
- SqlEnums.cs
- EntitySqlException.cs
- NetMsmqBindingCollectionElement.cs
- HostedImpersonationContext.cs
- MemberMaps.cs
- DoubleCollectionConverter.cs
- AsyncContentLoadedEventArgs.cs
- RoleGroup.cs
- CodeAttributeArgument.cs
- HttpRequestCacheValidator.cs
- TreeNodeStyleCollection.cs
- EventsTab.cs
- __Filters.cs
- CollectionsUtil.cs
- RegexCode.cs
- DrawItemEvent.cs
- DataSourceControlBuilder.cs
- Int32Rect.cs
- MetadataItemEmitter.cs
- XmlDocumentType.cs
- XsltQilFactory.cs
- TheQuery.cs
- Base64Encoding.cs
- ColorTransform.cs
- BitmapImage.cs
- SQLGuidStorage.cs
- shaperfactoryquerycachekey.cs
- SqlBulkCopyColumnMapping.cs
- WindowsMenu.cs
- IsolatedStorageFileStream.cs
- DataRecord.cs
- InheritanceContextHelper.cs
- XmlNotation.cs
- ConfigViewGenerator.cs
- TemplatedMailWebEventProvider.cs
- ListManagerBindingsCollection.cs
- Pair.cs
- DataGridClipboardHelper.cs
- RowToParametersTransformer.cs
- DefaultValueTypeConverter.cs
- TimeoutValidationAttribute.cs
- FormViewPageEventArgs.cs
- OdbcUtils.cs
- WindowsButton.cs
- XmlSchemaAnnotated.cs