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
- DrawingContextWalker.cs
- ExpressionNormalizer.cs
- ExpressionList.cs
- CuspData.cs
- ToolStripDropDownClosedEventArgs.cs
- HtmlGenericControl.cs
- ConfigXmlText.cs
- DataMisalignedException.cs
- PropVariant.cs
- CollectionChangeEventArgs.cs
- Parsers.cs
- RuntimeCompatibilityAttribute.cs
- Int32AnimationUsingKeyFrames.cs
- FixedSOMTableCell.cs
- RequestCachePolicyConverter.cs
- ObjectDataSourceEventArgs.cs
- Parameter.cs
- TextBoxBase.cs
- AutoGeneratedField.cs
- DataExpression.cs
- IdentityReference.cs
- InputScope.cs
- SimpleTypeResolver.cs
- ContentWrapperAttribute.cs
- ContourSegment.cs
- UmAlQuraCalendar.cs
- CodeCommentStatement.cs
- QilValidationVisitor.cs
- MsmqVerifier.cs
- CustomErrorCollection.cs
- AstNode.cs
- C14NUtil.cs
- ConnectionOrientedTransportChannelFactory.cs
- IDictionary.cs
- OdbcHandle.cs
- ControlIdConverter.cs
- SortDescriptionCollection.cs
- SafeCryptoHandles.cs
- TableAutomationPeer.cs
- FlowLayout.cs
- FrameworkElementFactory.cs
- ControlParameter.cs
- GlyphsSerializer.cs
- MetadataCache.cs
- ProtectedConfiguration.cs
- IdnElement.cs
- SafeNativeMethods.cs
- StateMachineWorkflow.cs
- String.cs
- GeometryHitTestResult.cs
- DesignerProperties.cs
- HierarchicalDataBoundControlAdapter.cs
- CodeNamespace.cs
- OdbcDataReader.cs
- AdornerLayer.cs
- CodeIndexerExpression.cs
- JapaneseCalendar.cs
- BinaryUtilClasses.cs
- GcHandle.cs
- ClaimTypes.cs
- MachineSettingsSection.cs
- _CacheStreams.cs
- panel.cs
- ParsedRoute.cs
- TextEvent.cs
- UnknownBitmapDecoder.cs
- BamlWriter.cs
- log.cs
- PhysicalAddress.cs
- StatusBarPanel.cs
- ProjectionPlanCompiler.cs
- DeriveBytes.cs
- KeyValueInternalCollection.cs
- StrokeCollection.cs
- PointCollectionValueSerializer.cs
- CheckoutException.cs
- TranslateTransform.cs
- XmlTypeAttribute.cs
- ISAPIApplicationHost.cs
- DropShadowEffect.cs
- ShaderEffect.cs
- _ProxyRegBlob.cs
- QueryStringParameter.cs
- AmbientLight.cs
- WebCategoryAttribute.cs
- TransformCollection.cs
- PagesSection.cs
- XmlSchemaSubstitutionGroup.cs
- XmlSchemaAll.cs
- HtmlForm.cs
- AnnotationMap.cs
- ListQueryResults.cs
- MetadataPropertyvalue.cs
- CaseStatementSlot.cs
- QuerySettings.cs
- HttpCacheVaryByContentEncodings.cs
- Property.cs
- ResourceExpressionBuilder.cs
- TableRowGroupCollection.cs
- MSHTMLHost.cs