ClientCredentials.IssuedToken Property


Use this property to specify the endpoint address and binding to use when contacting your local Security Token Service. This information is used when a service requires authentication using an issued token, but the policy of the service (represented as a binding on the client) does not explicitly specify how and where to obtain the issued token.

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

public IssuedTokenClientCredential IssuedToken { get; }

Property Value

Type: System.ServiceModel.Security.IssuedTokenClientCredential

An IssuedTokenClientCredential that specifies parameters to be used to obtain a token from a local Security Token Service.

You can use the object returned by this property to configure the settings of the local Security Token Service by calling its members.

The following code shows how to get an instance of IssuedTokenClientCredential by means of this property.

IssuedTokenClientCredential itcc = client.ClientCredentials.IssuedToken;

.NET Framework
Available since 3.0
Return to top