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
- SmtpNegotiateAuthenticationModule.cs
- UnsafeNativeMethodsMilCoreApi.cs
- BamlResourceDeserializer.cs
- SafeEventLogWriteHandle.cs
- MimeTypeMapper.cs
- FontStyle.cs
- ScrollViewer.cs
- WebBrowserBase.cs
- TextLineResult.cs
- CookieProtection.cs
- MemberRestriction.cs
- ParameterRefs.cs
- DetailsViewPagerRow.cs
- MetaType.cs
- ComponentEditorForm.cs
- DataBoundLiteralControl.cs
- EtwTrackingParticipant.cs
- DbException.cs
- WebPartCloseVerb.cs
- _emptywebproxy.cs
- HelpEvent.cs
- EmissiveMaterial.cs
- X509Chain.cs
- DecoratedNameAttribute.cs
- TransactionOptions.cs
- AsyncContentLoadedEventArgs.cs
- graph.cs
- TdsParserHelperClasses.cs
- FileDialog.cs
- Int16KeyFrameCollection.cs
- FlowDocumentPaginator.cs
- PropertyChangedEventArgs.cs
- ObjectSecurity.cs
- KeyboardDevice.cs
- ProfileInfo.cs
- HtmlShim.cs
- SspiHelper.cs
- DispatcherProcessingDisabled.cs
- AssemblyAssociatedContentFileAttribute.cs
- CodeFieldReferenceExpression.cs
- altserialization.cs
- WebBrowserBase.cs
- PropertyToken.cs
- SecurityPermission.cs
- PolyBezierSegmentFigureLogic.cs
- ObjectStorage.cs
- SocketElement.cs
- ModulesEntry.cs
- Events.cs
- TypeDescriptionProviderAttribute.cs
- ProcessModelInfo.cs
- ExpressionConverter.cs
- TemplatedAdorner.cs
- HtmlWindowCollection.cs
- EntityDataSourceEntitySetNameItem.cs
- ImageAttributes.cs
- JoinGraph.cs
- BaseCodePageEncoding.cs
- XPathDocumentBuilder.cs
- SecurityTokenRequirement.cs
- UIElement3D.cs
- PhysicalOps.cs
- HWStack.cs
- infer.cs
- ViewGenerator.cs
- SelectingProviderEventArgs.cs
- ToolTip.cs
- ComponentManagerBroker.cs
- XPathItem.cs
- Property.cs
- Delay.cs
- MultipartContentParser.cs
- GenericTextProperties.cs
- SystemIPGlobalProperties.cs
- LambdaCompiler.Logical.cs
- EventWaitHandle.cs
- TdsRecordBufferSetter.cs
- InputLanguageEventArgs.cs
- MenuItemStyle.cs
- AccessKeyManager.cs
- ImageSourceTypeConverter.cs
- SchemaSetCompiler.cs
- FlowchartDesignerCommands.cs
- Button.cs
- TemplateControlBuildProvider.cs
- StandardBindingOptionalReliableSessionElement.cs
- ErrorFormatterPage.cs
- CacheDict.cs
- Region.cs
- ServiceOperationListItem.cs
- ProgressBarAutomationPeer.cs
- DataGridColumnDropSeparator.cs
- ExpressionBinding.cs
- ProxyGenerator.cs
- ViewPort3D.cs
- SystemEvents.cs
- FileDialog.cs
- ValidatorUtils.cs
- HMACRIPEMD160.cs
- DiscoveryServiceExtension.cs