Redigera

Dela via


WSTrustChannelFactory.SecurityTokenResolver Property

Definition

Gets or sets the SecurityTokenResolver used to resolve security token references found in most elements of WS-Trust messages.

public:
 property System::IdentityModel::Selectors::SecurityTokenResolver ^ SecurityTokenResolver { System::IdentityModel::Selectors::SecurityTokenResolver ^ get(); void set(System::IdentityModel::Selectors::SecurityTokenResolver ^ value); };
public System.IdentityModel.Selectors.SecurityTokenResolver SecurityTokenResolver { get; set; }
member this.SecurityTokenResolver : System.IdentityModel.Selectors.SecurityTokenResolver with get, set
Public Property SecurityTokenResolver As SecurityTokenResolver

Property Value

The SecurityTokenResolver object.

Remarks

If this property is not set, channels created by this factory will use the ClientCertificate set on the factory Endpoint's ClientCredentials behavior to create a resolver. If no such certificate is found, an empty resolver is used.

You cannot change the value of this property after a channel has been created.

Applies to