Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IssuedSecurityTokenParameters::CreateKeyIdentifierClause Method (SecurityToken^, SecurityTokenReferenceStyle)

 

Creates a key identifier clause for a token.

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

public protected:
virtual SecurityKeyIdentifierClause^ CreateKeyIdentifierClause(
	SecurityToken^ token,
	SecurityTokenReferenceStyle referenceStyle
) override

Parameters

token
Type: System.IdentityModel.Tokens::SecurityToken^

The token.

referenceStyle
Type: System.ServiceModel.Security.Tokens::SecurityTokenReferenceStyle

The reference style of the security token.

Return Value

Type: System.IdentityModel.Tokens::SecurityKeyIdentifierClause^

The security key identifier clause.

Exception Condition
ArgumentNullException

token is null.

NotSupportedException

referenceStyle is not External or Internal.

Creates a key identifier clause using the CreateKeyIdentifierClause<T> method, with referenceStyle as a generic parameter.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft