Home
last modified time | relevance | path

Searched refs:audience (Results 1 – 25 of 77) sorted by relevance

1234

/external/python/oauth2client/oauth2client/
Dcrypt.py126 def _check_audience(payload_dict, audience): argument
142 if audience is None:
149 if audience_in_payload != audience:
151 audience_in_payload, audience, payload_dict))
207 def verify_signed_jwt_with_certs(jwt, certs, audience=None): argument
248 _check_audience(payload_dict, audience)
/external/python/oauth2client/tests/
Dtest_crypt.py154 audience = 'audience'
155 payload_dict = {'aud': audience}
156 result = crypt._check_audience(payload_dict, audience)
161 audience = 'audience'
164 crypt._check_audience(payload_dict, audience)
295 audience = object()
305 jwt, certs, audience=audience)
312 check_aud.assert_called_once_with(payload_dict, audience)
Dtest_jwt.py86 audience = ('https://www.googleapis.com/auth/id?client_id='
90 crypt.verify_signed_jwt_with_certs(jwt, certs, audience)
97 audience = 'some_audience_address@testing.gserviceaccount.com'
101 'aud': audience,
112 audience = 'some_audience_address@testing.gserviceaccount.com'
113 contents = crypt.verify_signed_jwt_with_certs(jwt, certs, audience)
172 audience = ('https:#www.googleapis.com/auth/id?client_id='
175 'aud': audience,
Dtest_service_account.py405 {'key': datafile('public_cert.pem')}, audience=self.url)
417 {'key': datafile('public_cert.pem')}, audience=self.url)
428 {'key': datafile('public_cert.pem')}, audience=self.url)
447 audience='https://test2.url.com')
484 audience=self.url)
519 audience=self.url)
/external/grpc-grpc/src/core/lib/security/credentials/jwt/
Djwt_verifier.cc283 const char* audience) { in grpc_jwt_claims_check() argument
313 if (audience == nullptr) { in grpc_jwt_claims_check()
316 audience_ok = claims->aud != nullptr && strcmp(audience, claims->aud) == 0; in grpc_jwt_claims_check()
320 audience == nullptr ? "NULL" : audience, in grpc_jwt_claims_check()
340 char* audience; member
351 grpc_jwt_claims* claims, const char* audience, grpc_slice signature, in verifier_cb_ctx_create() argument
360 ctx->audience = gpr_strdup(audience); in verifier_cb_ctx_create()
371 if (ctx->audience != nullptr) gpr_free(ctx->audience); in verifier_cb_ctx_destroy()
659 status = grpc_jwt_claims_check(ctx->claims, ctx->audience); in on_keys_retrieved()
853 const char* audience, in grpc_jwt_verifier_verify() argument
[all …]
Djson_token.h65 const char* audience,
70 const grpc_auth_json_key* json_key, const char* audience,
Djson_token.cc182 const char* audience, in encoded_jwt_claim() argument
209 child = create_child(child, json, "aud", audience, GRPC_JSON_STRING); in encoded_jwt_claim()
292 const char* audience, in grpc_jwt_encode_and_sign() argument
295 return g_jwt_encode_and_sign_override(json_key, audience, token_lifetime, in grpc_jwt_encode_and_sign()
301 encoded_jwt_claim(json_key, audience, token_lifetime, scope)); in grpc_jwt_encode_and_sign()
Djwt_verifier.h112 const char* audience,
120 const char* audience);
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/jwt/
Djwt_verifier.cc289 const char* audience) { in grpc_jwt_claims_check() argument
319 if (audience == nullptr) { in grpc_jwt_claims_check()
322 audience_ok = claims->aud != nullptr && strcmp(audience, claims->aud) == 0; in grpc_jwt_claims_check()
326 audience == nullptr ? "NULL" : audience, in grpc_jwt_claims_check()
346 char* audience; member
356 grpc_jwt_claims* claims, const char* audience, const grpc_slice& signature, in verifier_cb_ctx_create() argument
366 ctx->audience = gpr_strdup(audience); in verifier_cb_ctx_create()
377 if (ctx->audience != nullptr) gpr_free(ctx->audience); in verifier_cb_ctx_destroy()
659 status = grpc_jwt_claims_check(ctx->claims, ctx->audience); in on_keys_retrieved()
850 const char* audience, in grpc_jwt_verifier_verify() argument
[all …]
Djson_token.h63 const char* audience,
68 const grpc_auth_json_key* json_key, const char* audience,
Djson_token.cc170 const char* audience, in encoded_jwt_claim() argument
181 {"aud", audience}, in encoded_jwt_claim()
269 const char* audience, in grpc_jwt_encode_and_sign() argument
272 return g_jwt_encode_and_sign_override(json_key, audience, token_lifetime, in grpc_jwt_encode_and_sign()
278 encoded_jwt_claim(json_key, audience, token_lifetime, scope)); in grpc_jwt_encode_and_sign()
Djwt_verifier.h111 const char* audience,
119 const char* audience);
/external/tensorflow/tensorflow/core/platform/cloud/
Doauth_client.cc134 StringPiece audience, uint64 request_timestamp_sec, in EncodeJwtClaim() argument
140 root["aud"] = Json::Value(audience.begin(), audience.end()); in EncodeJwtClaim()
/external/rust/crates/grpcio-sys/grpc/src/cpp/client/
Dsecure_credentials.cc145 options->audience.clear(); in ClearStsCredentialsOptions()
200 if (value != nullptr) options->audience.assign(value); in StsCredentialsOptionsFromJson()
255 opts.audience = options.audience.c_str(); in StsCredentialsCppToCoreOptions()
/external/python/pybind11/.github/ISSUE_TEMPLATE/
Dfeature-request.md11 …[Gitter chat room][] to see if this is interesting / useful to a larger audience and possible to i…
/external/python/cpython2/Doc/distutils/
Dindex.rst17 make Python modules and extensions easily available to a wider audience with
/external/python/cpython3/Doc/distutils/
Dindex.rst28 and extensions readily available to a wider audience.
/external/rust/crates/grpcio-sys/grpc/src/core/ext/xds/
Dgoogle_mesh_ca_certificate_provider_factory.h38 std::string audience; member
Dgoogle_mesh_ca_certificate_provider_factory.cc67 ParseJsonObjectField(sts_service, "audience", &sts_config_.audience, in ParseJsonObjectStsService()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/external/
Dexternal_account_credentials.h40 std::string audience; member
Dexternal_account_credentials.cc102 options.audience = it->second.string_value(); in Create()
192 options_.audience, in debug_string()
272 UrlEncode(options_.audience).c_str())); in ExchangeToken()
/external/shflags/doc/
DRELEASE_NOTES-1.2.2.md27 more appealing to a wider audience.
/external/cldr/tools/c/genldml/resources/
Droot.txt693 // <audience></audience>
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/security/
Dcredentials.h290 grpc::string audience; // Optional. member
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/security/
Dcredentials.h290 grpc::string audience; // Optional. member

1234