Closed venh closed 8 years ago
There is a core DLL on NuGet for IdentityServer2. I don't think we have any samples that show its use, though. Your best bet would be to build something similar to what the current hosting project does.
As an alternative, you might want to look at IdentityServer3 as it allows more customization like you're asking for: https://github.com/IdentityServer/IdentityServer3/
I don't want to use the MVC based Web site that comes along with the Identity Server project. Rather, I would like to use the DLLs and reference them in my custom project (class library / console app) and would like to authenticate a user and generate a token, serialize and cache it and retrieve it back from the cache and re-validate it. Could you kindly let me know, if this is possible, and if so, could you kindly let me know the steps(including code) to do it?