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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.