I am developing a REST api, where I need to authenticate the client. I want to authenticate client just the way Google authenticate client, when clients make google map api call.
For google maps case, Google takes Package name and SHA-1 hash and then google provide api key. Using that ApiKey, Android app make calls to Google Map server. And Then they either reject request or return response based on authentication.
Q.1. How does google-map-server authenticate android application, which is making REST call using correct ApiKey to Google Map server?