Added simple way to set the issued_at claim value to current UTC date time.
This commit is contained in:
@@ -259,6 +259,11 @@ feature -- Element change
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
set_issued_at_now_utc
|
||||||
|
do
|
||||||
|
set_issued_at (create {DATE_TIME}.make_now_utc)
|
||||||
|
end
|
||||||
|
|
||||||
set_jwt_id (jti: detachable READABLE_STRING_8)
|
set_jwt_id (jti: detachable READABLE_STRING_8)
|
||||||
-- The "jti" (JWT ID) claim provides a unique identifier for the JWT.
|
-- The "jti" (JWT ID) claim provides a unique identifier for the JWT.
|
||||||
-- The identifier value MUST be assigned in a manner that ensures that
|
-- The identifier value MUST be assigned in a manner that ensures that
|
||||||
|
|||||||
Reference in New Issue
Block a user