Share via


JwtPayload.Id Property

Gets the 'value' of the JWT ID claim from JSON in the form of { jti, 'value' }.

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel.Tokens.Jwt (in System.IdentityModel.Tokens.Jwt.dll)

Syntax

'Declaration
Public ReadOnly Property Id As String
public string Id { get; }
public:
property String^ Id {
    String^ get ();
}
member Id : string with get
function get Id () : String

Property Value

Type: System.String
Returns String.

Remarks

If the JWT ID claim is not found, null is returned.

.NET Framework Security

See Also

Reference

JwtPayload Class

System.IdentityModel.Tokens Namespace