As discussed and agreed, please develop a proof of concept application which generates JWT tokens.
SERVER: JWT; JWT Token Signing; JWT Token Encryption; JWT access token & authentication token so that you create a 'rolling token mechanism' where one token lasts for example for 1 week and others are valid for for example 15 minutes and new tokens are generared based on the long living token (refresh mechanism); Claims inside the JWTs. The server should be a stand-alone module on which several clients can "rely on".
Please generate a set of 3 or 4 tokens, each one with a (hardcoded) set of Claims inside it.
CLIENT: request token from server, based on (hardcoded) user name and password; authenticate with server; consume a simple dummy webapi (no implementation, just one or two httpget method(s) to show that authentication works according to the Claims specified in the token.
Please develop at least 2 separate clients (they might be Unit Tests / Integration Tests) to show that the server is not "part of the project", and instead a "stand-alone" one.
Observation: The "client" may be implemented as Unit Test / Integration Tests.
Deliverable: Visual Studio solution with project(s) in DotNet Core 2.1
(Please download the version 2.1 SDK from Microsoft: [login to view URL])