leonardochaia / angular-simple-oidc

Observables all the way, expressive errors, simple API. - Code Flow, Refresh Tokens, Session Management
MIT License
4 stars 3 forks source link

Clearly define a core module which contains all of the OAuth protocol logic #14

Closed leonardochaia closed 5 years ago

leonardochaia commented 5 years ago

This PR splits the core implementations of the protocol into a separate folder. This only contains the basics for validations, parsing and URL constructions.

The "clients", like the RefreshTokenClient orchestrates the core in order to complete the protocol. These clients could be implemented in other ways for Angular, like ngrx (#13) reusing the core logic, only orchestrating it.