When you create credentials in the Google Developer Console , you can create several different types of credentials depending on which type is created, you can have any of the following
- Open API
- Customer id
- Customer secret
- Service Account Email Address
They all have different formats. I deleted the ones I publish.
- API public key:
AIzaSyAcMvMr_bk91qRKZ5SGYEvF5HWjXVE7Xkk - Customer ID:
1046123799103-d0vpdthl4ms0soutcrpe036ckqn7rfpn.apps.googleusercontent.com - Client Secret:
G5QtTuBDp6ejKraR0XodNwaW - Service account email address:
1046123799103-6v9cj8jbub068jgmss54m9gkuk4q2qu8@developer.gservic eaccount.com
Is there any way to test them in my application. What keys are they?
I use C #, but any information about which keys will be useful.
Perhaps I could come up with some kind of RegEx check for the client id and email service. But there must be a way to test them better than that.
Update:
Google allows you to check the access token, why there is no way to verify the credentials Check TokenInfo
Does not work.
Convert.FromBase64String("AIzaSyAcMvMr_bk91qRKZ5SGYEvF5HWjXVE7Xkk");
source share