Open soners opened 2 years ago
Why do you want to create a token validation services for yourself? What functionality do you need which the lib does not offer? Should we provide a method through the facade instead? Thanks
Hello @FabianGosebrink.
Thank you for your reply and sincere apologies for the late reply. I was on a mission to gather information on why we needed to inherit before.
This is the code piece that does the work that TokenValidationService was not capable of in version 11. Do you know if you received any bug reports about this or this was resolved in later versions?
Is this issue still relevant?
What Version of the library are you using? angular-auth-oidc-client v12.0.3 Angular 12.2.0 Node v16.11.0 NPM 8.0.0
Describe the bug Creating Custom Token Validation Service is not possible, because JsrsAsignReducedService is not exported. (see screenshot 1 and 2 for exported classes and error message respectively)
To Reproduce Steps to reproduce the behavior:
Expected behavior JsrsAsignReducedService is exported so that we can create custom token validation services.
Screenshots Screenshot 1 -> Exported classes![image](https://user-images.githubusercontent.com/36479139/151947226-e62c613f-0c52-4180-b288-756a6455c9e6.png)
Screenshot 2-> Error message![image](https://user-images.githubusercontent.com/36479139/151948952-287d54c7-b0ad-4cd6-aaad-0b1507d54547.png)
Screenshot 3 -> Service implementation![image](https://user-images.githubusercontent.com/36479139/151946835-ba6cbadc-b20c-4eea-8bc3-80942e5b2420.png)
Screenshot 4 -> App Module![image](https://user-images.githubusercontent.com/36479139/151946971-5fa8fd1c-7493-4e53-a4e3-9883ad9a963e.png)
Desktop (please complete the following information):
Additional context Same error can be reproduced with Angular 13 and angular-auth-oidc-client v13.1.0. JwtWindowCryptoService is not exported, however it is a dependency of TokenValidationService.