JwtSecurityToken.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 Overrides ReadOnly Property Id As String
public override string Id { get; }
public:
virtual property String^ Id {
    String^ get () override;
}
abstract Id : string with get 
override Id : string with get
override 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

JwtSecurityToken Class

System.IdentityModel.Tokens Namespace