on develop help sign in
Quoting
9fb1381Brendan Hay
gogol/src/Network/Google/Auth.hs+13−13
@@ -251,11 +251,11 @@ from the Google Developer console of the following form:
251
251
252@
252@
253{
253{
254− "type": "service_account",
254+ \"type\": \"service_account\",
255− "private_key_id": "303ad77e5efdf2ce952DFa",
255+ \"private_key_id\": \"303ad77e5efdf2ce952DFa\",
256− "private_key": "-----BEGIN PRIVATE KEY-----\n...\n",
256+ \"private_key\": \"-----BEGIN PRIVATE KEY-----\n...\n\",
257− "client_email": "email@serviceaccount.com",
257+ \"client_email\": \"email@serviceaccount.com\",
258− "client_id": "035-2-310.useraccount.com"
258+ \"client_id\": \"035-2-310.useraccount.com\"
259}
259}
260@
260@
261
261
@@ -292,10 +292,10 @@ tools such as @gcloud init@, of the following form:
292
292
293@
293@
294{
294{
295− "type": "authorized_user",
295+ \"type\": \"authorized_user\",
296− "client_id": "32555940559.apps.googleusercontent.com",
296+ \"client_id\": \"32555940559.apps.googleusercontent.com\",
297− "client_secret": "Zms2qjJy2998hD4CTg2ejr2",
297+ \"client_secret\": \"Zms2qjJy2998hD4CTg2ejr2\",
298− "refresh_token": "1/B3gM1x35v.VtqffS1n5w-rSJ"
298+ \"refresh_token\": \"1/B3gM1x35v.VtqffS1n5w-rSJ\"
299}
299}
300@
300@
301
301
@@ -327,10 +327,10 @@ data OAuthClient = OAuthClient
327
327
328@
328@
329{
329{
330− "token_type": "Bearer",
330+ \"token_type\": \"Bearer\",
331− "access_token": "eyJhbGci...",
331+ \"access_token\": \"eyJhbGci...\",
332− "refresh_token": "1/B3gq9K...",
332+ \"refresh_token\": \"1/B3gq9K...\",
333− "expires_in": 3600,
333+ \"expires_in\": 3600,
334 ...
334 ...
335}
335}
336@
336@