There weren’t any official public APIs exposed but I’ve just added some new APIs you can use:
var jwtProvider = (JwtAuthProvider)AuthenticateService.GetAuthProvider(JwtAuthProvider.Name);
// get valid JsonObject you can inspect
JsonObject validPayload = jwtProvider.GetValidJwtPayload(jwt);
bool isValid = jwtProvider.IsJwtValid(jwt);
These APIs are available from v5.0.3 that’s now available on MyGet. If you had v5.0.3 installed previously you’ll need to clear your NuGet cache with:
$ nuget locals all -clear