Added simple way to set the issued_at claim value to current UTC date time.

This commit is contained in:
Jocelyn Fiat
2017-06-14 16:27:24 +02:00
parent 10a83c6ad8
commit 9e5e8bb1bf

View File

@@ -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