Authentication

Angular is the core of Ionic and most of the work with respect to authentication and authorization will be handled in code. There are mainly two ways of implementing server side authentication for frontend applications. You look at the Ionic app as an Angular frontend application. All of what we will cover can be treated as common and can be used on the Web as well as Ionic-based hybrid applications. Mainly there are two ways that we can usually handle authentication:

  • Token-based
  • Cookie-based

Get Hybrid Mobile Development with Ionic now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.