%SYS
JWTid Class Reference

The OAuth2.Server.JWTid is used to maintain a list of id of the JWTs which have been used to identify a client to the authorization server. More...

Inheritance diagram for JWTid:
Collaboration diagram for JWTid:

Static Public Member Functions

_.Library.Boolean IsNewJWT (_.Library.String jti, _.Library.Integer expires, _.Library.Status sc)
 A new JWT has been received. More...
 

Public Attributes

 Expires
 Expires is the time in seconds from beginning of the Unix epoch when the JWT expires. More...
 
 JTI
 JTI is the jti property of the JWT which has been sued for authentication. More...
 

Detailed Description

The OAuth2.Server.JWTid is used to maintain a list of id of the JWTs which have been used to identify a client to the authorization server.

Member Function Documentation

◆ IsNewJWT()

_.Library.Boolean IsNewJWT ( _.Library.String  jti,
_.Library.Integer  expires,
_.Library.Status  sc 
)
static

A new JWT has been received.


Return true if the JWT has not been used and save the JWTid record. Otherwise return false.

Member Data Documentation

◆ Expires

Expires

Expires is the time in seconds from beginning of the Unix epoch when the JWT expires.

After this time, there is no point in keeping a record of this JTI since it has already expired.  

◆ JTI

JTI

JTI is the jti property of the JWT which has been sued for authentication.