Following the example here: https://docs.servicestack.net/jwt-authprovider#creating-jwt-tokens-manually – going to use this for impersonation, useful for testing and helping users.
The first line creates a new JwtAuthProvider
, but since I already have one (from Configure.Auth.cs
), couldn’t I just use that one?
Then I found AuthenticateService.GetJwtAuthProvider()
only returns the reader version. Is there any reason for this, or could I just cast it to the full JwtAuthProvider
?