OAuth2 Client
Created by: HurricanKai
Summary
Fixes #243 (closed) It also Implements the OAuth2 Client Credentials Grant flow functionality. Adds Unit Tests for the Project.
Details
Because i didnt wanted to wait for #243 (closed) i tryed it myself. added Scope checking for all, it still contains some hacks but i hope its fine. The Tests dont have to be there, i just like doing those.
Changes proposed
- Client Credentials Grant
- OAuth2 Client, copyed from Rest-Only Client -> Now Merged with Rest Client
- OAuth2 Calls
- Tests
- Added Authorization Code Grant (as far as possible)
- automatic refresh (see comment)
Notes
the Client Credentials Grant is not implemented for .Net Standart 1.1 because of unaviable Encoding.ASCII
I hope this will be helpfull