OAuth 2.0

Now a days APIs do a major role in software engineering, and accessing APIs from mobile devices are becoming very useful. So when it comes to that, OAuth2 is an excellent protocol for securing API services from untrusted devices. OAuth Roles There are four major roles defined in OAuth Resource Owner The resource owner is the…

Android Push Notifications with GCM – Client Side

Overview of Google Cloud Messaging As per google’s documentation “Google Cloud Messaging for Android (GCM) is a service that helps developers send data from servers to their Android applications on Android devices” Send a request to GCM from the device to register (with the google project number). GCM sends back the device registration ID. Device…