SupportingTokenSpecification Constructor (SecurityToken, ReadOnlyCollection<IAuthorizationPolicy>, SecurityTokenAttachmentMode, SecurityTokenParameters)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the SupportingTokenSpecification class.

Namespace:   System.ServiceModel.Security
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public SupportingTokenSpecification(
	SecurityToken token,
	ReadOnlyCollection<IAuthorizationPolicy> tokenPolicies,
	SecurityTokenAttachmentMode attachmentMode,
	SecurityTokenParameters tokenParameters
)

Parameters

token
Type: System.IdentityModel.Tokens.SecurityToken

The security token.

tokenPolicies
Type: System.Collections.ObjectModel.ReadOnlyCollection<IAuthorizationPolicy>

The collection of security token policies.

attachmentMode
Type: System.ServiceModel.Security.SecurityTokenAttachmentMode

The security token attachment mode.

tokenParameters
Type: System.ServiceModel.Security.Tokens.SecurityTokenParameters

The parameters to binding elements that control security tokens.

.NET Framework
Available since 3.0
Return to top
Show: