Ng2-authentication is a module to handle authentication in angular 2 front end using auth guard.
Note: this solutions is not included in npm, so download and include it in your service folder.
Authentication Module is based on auth guard implementation in angular 2. Also access token is stored in the localstorage as auth_token.
Using it in your component
Method for SignIn
Method to Logout
Method to Check the Login Status on page load and navigation
I am passionate in playing with pixels, creating attractive designs which interact well with the user and love developing web apps. Have a good background in web design and development. Also having wonderful working experience with various interesting projects and participated in the development of the products to provide end to end solutions.
Released under the MIT license.