Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Replace Component Interfaces with Auth Guard #141

Open
Craig1f opened this issue May 17, 2018 · 0 comments
Open

Replace Component Interfaces with Auth Guard #141

Craig1f opened this issue May 17, 2018 · 0 comments

Comments

@Craig1f
Copy link

Craig1f commented May 17, 2018

Components should not be aware of the authorization layer. Use an auth guard in the router to prevent access to routes that require authorization. This decouples the auth layer from the rest of the application and makes it easier for people to fork this project and add it to theirs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant