Open beastlyDartfordian opened 1 year ago
Hi @beastlyDartfordian
Back in 0.7.2 the way to create tokens is like:
var token = new PasetoBuilder<Version2>()
.WithKey(privateKey)
.AddClaim("example", "Hello Paseto!")
.Expiration(DateTime.UtcNow.AddHours(24))
.AsPublic() // Purpose
.Build();
You can check the README as what it was back then here.
Will take a look if is possible to support 4.8.
Hi David,
Thanks for the response, I've managed to get it working successfully so thanks for that as well.
If you could take a look at the possibility of supporting 4.8 that would be great. We've only just upgraded to it, and don't see us moving to core any time soon
Hi,
My project targets 4.8 so I'm trying to use version 0.7.2, however I can't find PasetoBuilder. I've tried adding "using Paseto.Builder" but that doesn't look available, and it looks like I can't move to version 1.x as they don't support dotnet 4.8
![image](https://user-images.githubusercontent.com/12050240/209308125-6ef39775-58fc-4194-8c44-47a28bce217c.png)
Any help, advice, or steer would be greatly appreciated - Cheers