JWT: updated to make JWT algorithm support more flexible, and simple to extend with specific algorithm.

This commit is contained in:
2018-10-17 10:59:57 +02:00
parent f97f59b703
commit 0baa05cf63
10 changed files with 340 additions and 84 deletions

View File

@@ -0,0 +1,27 @@
note
description: "Summary description for {JWT_ALG}."
author: ""
date: "$Date$"
revision: "$Revision$"
deferred class
JWT_ALG
feature -- Access
name: READABLE_STRING_8
deferred
end
encoded_string (a_message: READABLE_STRING_8; a_secret: READABLE_STRING_8): STRING
deferred
end
feature -- Status report
is_none: BOOLEAN
-- Is Current algorithm is "none" ?
do
end
end