Home
last modified time | relevance | path

Searched refs:client_email (Results 1 – 6 of 6) sorted by relevance

/external/grpc-grpc/src/core/lib/security/credentials/jwt/
Djson_token.cc91 &result.client_email)) { in grpc_auth_json_key_create_from_json()
140 if (json_key->client_email != nullptr) { in grpc_auth_json_key_destruct()
141 gpr_free(json_key->client_email); in grpc_auth_json_key_destruct()
142 json_key->client_email = nullptr; in grpc_auth_json_key_destruct()
199 child = create_child(nullptr, json, "iss", json_key->client_email, in encoded_jwt_claim()
205 child = create_child(child, json, "sub", json_key->client_email, in encoded_jwt_claim()
Djson_token.h41 char* client_email; member
/external/tensorflow/tensorflow/core/platform/cloud/
Doauth_client.cc132 Status EncodeJwtClaim(StringPiece client_email, StringPiece scope, in EncodeJwtClaim() argument
137 root["iss"] = Json::Value(client_email.begin(), client_email.end()); in EncodeJwtClaim()
187 string private_key_serialized, private_key_id, client_id, client_email; in GetTokenFromServiceAccountJson() local
192 TF_RETURN_IF_ERROR(ReadJsonString(json, "client_email", &client_email)); in GetTokenFromServiceAccountJson()
211 TF_RETURN_IF_ERROR(EncodeJwtClaim(client_email, scope, oauth_server_uri, in GetTokenFromServiceAccountJson()
/external/grpc-grpc/test/core/security/
Djson_token_test.cc109 GPR_ASSERT(json_key.client_email != nullptr && in test_parse_json_key_success()
110 strcmp(json_key.client_email, in test_parse_json_key_success()
Dcredentials_test.cc730 GPR_ASSERT(json_key->client_email != nullptr && in validate_jwt_encode_and_sign_params()
731 strcmp(json_key->client_email, in validate_jwt_encode_and_sign_params()
/external/python/oauth2client/tests/
Dtest_service_account.py117 client_email = 'foo@bar.com'
123 'client_email': client_email,
143 self.assertEqual(creds._service_account_email, client_email)