SecurityBindingElement.CreateIssuedTokenBindingElement Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a symmetric security binding element that is configured to require client authentication using a symmetric-key based issued token.
public:
static System::ServiceModel::Channels::SymmetricSecurityBindingElement ^ CreateIssuedTokenBindingElement(System::ServiceModel::Security::Tokens::IssuedSecurityTokenParameters ^ issuedTokenParameters);
public static System.ServiceModel.Channels.SymmetricSecurityBindingElement CreateIssuedTokenBindingElement (System.ServiceModel.Security.Tokens.IssuedSecurityTokenParameters issuedTokenParameters);
static member CreateIssuedTokenBindingElement : System.ServiceModel.Security.Tokens.IssuedSecurityTokenParameters -> System.ServiceModel.Channels.SymmetricSecurityBindingElement
Public Shared Function CreateIssuedTokenBindingElement (issuedTokenParameters As IssuedSecurityTokenParameters) As SymmetricSecurityBindingElement
Parameters
- issuedTokenParameters
- IssuedSecurityTokenParameters
A IssuedSecurityTokenParameters that represents the symmetric-key based issued token.
Returns
A SymmetricSecurityBindingElement object.
Exceptions
issuedTokenParameters
is null
.
The key type of issuedTokenParameters
is not symmetric.
Remarks
The issued token parameters must have a symmetric key type.
Note
Once a SecurityBindingElement object is created by calling this method, the KeyType property should be treated as immutable. Inconsistent binding behavior may occur if this value is modified.