~nskaggs/+junk/xenial-test

« back to all changes in this revision

Viewing changes to src/golang.org/x/oauth2/google/testdata/gcloud/credentials

  • Committer: Nicholas Skaggs
  • Date: 2016-10-24 20:56:05 UTC
  • Revision ID: nicholas.skaggs@canonical.com-20161024205605-z8lta0uvuhtxwzwl
Initi with beta15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{
 
2
  "data": [
 
3
    {
 
4
      "credential": {
 
5
        "_class": "OAuth2Credentials",
 
6
        "_module": "oauth2client.client",
 
7
        "access_token": "foo_access_token",
 
8
        "client_id": "foo_client_id",
 
9
        "client_secret": "foo_client_secret",
 
10
        "id_token": {
 
11
          "at_hash": "foo_at_hash",
 
12
          "aud": "foo_aud",
 
13
          "azp": "foo_azp",
 
14
          "cid": "foo_cid",
 
15
          "email": "foo@example.com",
 
16
          "email_verified": true,
 
17
          "exp": 1420573614,
 
18
          "iat": 1420569714,
 
19
          "id": "1337",
 
20
          "iss": "accounts.google.com",
 
21
          "sub": "1337",
 
22
          "token_hash": "foo_token_hash",
 
23
          "verified_email": true
 
24
        },
 
25
        "invalid": false,
 
26
        "refresh_token": "foo_refresh_token",
 
27
        "revoke_uri": "https://accounts.google.com/o/oauth2/revoke",
 
28
        "token_expiry": "2015-01-09T00:51:51Z",
 
29
        "token_response": {
 
30
          "access_token": "foo_access_token",
 
31
          "expires_in": 3600,
 
32
          "id_token": "foo_id_token",
 
33
          "token_type": "Bearer"
 
34
        },
 
35
        "token_uri": "https://accounts.google.com/o/oauth2/token",
 
36
        "user_agent": "Cloud SDK Command Line Tool"
 
37
      },
 
38
      "key": {
 
39
        "account": "foo@example.com",
 
40
        "clientId": "foo_client_id",
 
41
        "scope": "https://www.googleapis.com/auth/appengine.admin https://www.googleapis.com/auth/bigquery https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/ndev.cloudman https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/sqlservice.admin https://www.googleapis.com/auth/prediction https://www.googleapis.com/auth/projecthosting",
 
42
        "type": "google-cloud-sdk"
 
43
      }
 
44
    },
 
45
    {
 
46
      "credential": {
 
47
        "_class": "OAuth2Credentials",
 
48
        "_module": "oauth2client.client",
 
49
        "access_token": "bar_access_token",
 
50
        "client_id": "bar_client_id",
 
51
        "client_secret": "bar_client_secret",
 
52
        "id_token": {
 
53
          "at_hash": "bar_at_hash",
 
54
          "aud": "bar_aud",
 
55
          "azp": "bar_azp",
 
56
          "cid": "bar_cid",
 
57
          "email": "bar@example.com",
 
58
          "email_verified": true,
 
59
          "exp": 1420573614,
 
60
          "iat": 1420569714,
 
61
          "id": "1337",
 
62
          "iss": "accounts.google.com",
 
63
          "sub": "1337",
 
64
          "token_hash": "bar_token_hash",
 
65
          "verified_email": true
 
66
        },
 
67
        "invalid": false,
 
68
        "refresh_token": "bar_refresh_token",
 
69
        "revoke_uri": "https://accounts.google.com/o/oauth2/revoke",
 
70
        "token_expiry": "2015-01-09T00:51:51Z",
 
71
        "token_response": {
 
72
          "access_token": "bar_access_token",
 
73
          "expires_in": 3600,
 
74
          "id_token": "bar_id_token",
 
75
          "token_type": "Bearer"
 
76
        },
 
77
        "token_uri": "https://accounts.google.com/o/oauth2/token",
 
78
        "user_agent": "Cloud SDK Command Line Tool"
 
79
      },
 
80
      "key": {
 
81
        "account": "bar@example.com",
 
82
        "clientId": "bar_client_id",
 
83
        "scope": "https://www.googleapis.com/auth/appengine.admin https://www.googleapis.com/auth/bigquery https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/ndev.cloudman https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/sqlservice.admin https://www.googleapis.com/auth/prediction https://www.googleapis.com/auth/projecthosting",
 
84
        "type": "google-cloud-sdk"
 
85
      }
 
86
    },
 
87
    {
 
88
      "credential": {
 
89
        "_class": "ServiceAccountCredentials",
 
90
        "_kwargs": {},
 
91
        "_module": "oauth2client.client",
 
92
        "_private_key_id": "00000000000000000000000000000000",
 
93
        "_private_key_pkcs8_text": "-----BEGIN RSA PRIVATE KEY-----\nMIICWwIBAAKBgQCt3fpiynPSaUhWSIKMGV331zudwJ6GkGmvQtwsoK2S2LbvnSwU\nNxgj4fp08kIDR5p26wF4+t/HrKydMwzftXBfZ9UmLVJgRdSswmS5SmChCrfDS5OE\nvFFcN5+6w1w8/Nu657PF/dse8T0bV95YrqyoR0Osy8WHrUOMSIIbC3hRuwIDAQAB\nAoGAJrGE/KFjn0sQ7yrZ6sXmdLawrM3mObo/2uI9T60+k7SpGbBX0/Pi6nFrJMWZ\nTVONG7P3Mu5aCPzzuVRYJB0j8aldSfzABTY3HKoWCczqw1OztJiEseXGiYz4QOyr\nYU3qDyEpdhS6q6wcoLKGH+hqRmz6pcSEsc8XzOOu7s4xW8kCQQDkc75HjhbarCnd\nJJGMe3U76+6UGmdK67ltZj6k6xoB5WbTNChY9TAyI2JC+ppYV89zv3ssj4L+02u3\nHIHFGxsHAkEAwtU1qYb1tScpchPobnYUFiVKJ7KA8EZaHVaJJODW/cghTCV7BxcJ\nbgVvlmk4lFKn3lPKAgWw7PdQsBTVBUcCrQJATPwoIirizrv3u5soJUQxZIkENAqV\nxmybZx9uetrzP7JTrVbFRf0SScMcyN90hdLJiQL8+i4+gaszgFht7sNMnwJAAbfj\nq0UXcauQwALQ7/h2oONfTg5S+MuGC/AxcXPSMZbMRGGoPh3D5YaCv27aIuS/ukQ+\n6dmm/9AGlCb64fsIWQJAPaokbjIifo+LwC5gyK73Mc4t8nAOSZDenzd/2f6TCq76\nS1dcnKiPxaED7W/y6LJiuBT2rbZiQ2L93NJpFZD/UA==\n-----END RSA PRIVATE KEY-----\n",
 
94
        "_revoke_uri": "https://accounts.google.com/o/oauth2/revoke",
 
95
        "_scopes": "https://www.googleapis.com/auth/appengine.admin https://www.googleapis.com/auth/bigquery https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/ndev.cloudman https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/sqlservice.admin https://www.googleapis.com/auth/prediction https://www.googleapis.com/auth/projecthosting",
 
96
        "_service_account_email": "baz@serviceaccount.example.com",
 
97
        "_service_account_id": "baz.serviceaccount.example.com",
 
98
        "_token_uri": "https://accounts.google.com/o/oauth2/token",
 
99
        "_user_agent": "Cloud SDK Command Line Tool",
 
100
        "access_token": null,
 
101
        "assertion_type": null,
 
102
        "client_id": null,
 
103
        "client_secret": null,
 
104
        "id_token": null,
 
105
        "invalid": false,
 
106
        "refresh_token": null,
 
107
        "revoke_uri": "https://accounts.google.com/o/oauth2/revoke",
 
108
        "service_account_name": "baz@serviceaccount.example.com",
 
109
        "token_expiry": null,
 
110
        "token_response": null,
 
111
        "user_agent": "Cloud SDK Command Line Tool"
 
112
      },
 
113
      "key": {
 
114
        "account": "baz@serviceaccount.example.com",
 
115
        "clientId": "baz_client_id",
 
116
        "scope": "https://www.googleapis.com/auth/appengine.admin https://www.googleapis.com/auth/bigquery https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/ndev.cloudman https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/sqlservice.admin https://www.googleapis.com/auth/prediction https://www.googleapis.com/auth/projecthosting",
 
117
        "type": "google-cloud-sdk"
 
118
      }
 
119
    }
 
120
  ],
 
121
  "file_version": 1
 
122
}