Why?
Authorization on frontend can be tricky. The logic of it varies depending on what we use for authorization. Suppose you have three methods of authorization -
Google
, Facebook
and the usual login form
.For the application it should make no difference what kind of provider it is. So we need an abstraction that will give the application all the tools to authorize with any provider.
Usage
Implementation
- 1. Rendering
5 minutes
- 2. Forms
4 minutes
- 3. Events
16 minutes
- 4. Guards
5 minutes