Jump to authentication.service.ts - Angular 6 Authentication Service The authentication service is used to login and logout of the application, to login it .