RequestedSecurityToken.SecurityToken Property

Definition

Gets the issued security token when the RequestedSecurityToken instance was created using the token itself.

C#
public System.IdentityModel.Tokens.SecurityToken SecurityToken { get; }

Property Value

A SecurityToken that represents the issued security token. null if the RequestedSecurityToken instance was created using the token XML.

Remarks

Gets the issued security token when the RequestedSecurityToken object was created by using the token itself (represented by a SecurityToken object). The value of the property is null if the instance was created using the token XML. In this case the token XML can be accessed from the SecurityTokenXml property.

Applies to

Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1