RequestedSecurityToken.SecurityToken Property

Definition

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

public:
 property System::IdentityModel::Tokens::SecurityToken ^ SecurityToken { System::IdentityModel::Tokens::SecurityToken ^ get(); };
public System.IdentityModel.Tokens.SecurityToken SecurityToken { get; }
member this.SecurityToken : System.IdentityModel.Tokens.SecurityToken
Public ReadOnly Property SecurityToken As SecurityToken

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