Home
last modified time | relevance | path

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

12

/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)
Dclient.py1549 def verify_id_token(id_token, audience, http=None, argument
1578 return crypt.verify_signed_jwt_with_certs(id_token, certs, 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/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/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/cldr/tools/c/genldml/resources/
Droot.txt693 // <audience></audience>
/external/grpc-grpc/test/core/security/
Dcredentials_test.cc739 const char* audience, in encode_and_sign_jwt_success() argument
747 const char* audience, in encode_and_sign_jwt_failure() argument
755 const grpc_auth_json_key* json_key, const char* audience, in encode_and_sign_jwt_should_not_be_called() argument
/external/google-styleguide/docguide/
Dbest_practices.md88 intended audience is future programmers who will use and modify your
/external/swiftshader/third_party/llvm-7.0/llvm/utils/
Dllvm.grm17 ^ "audience: LLVM developers\n"
/external/llvm/utils/
Dllvm.grm17 ^ "audience: LLVM developers\n"
/external/libaom/libaom/third_party/libyuv/source/
Dx86inc.asm32 ; to the largest audience possible. Of course, if you modify it for your own
/external/libaom/libaom/third_party/x86inc/
Dx86inc.asm32 ; to the largest audience possible. Of course, if you modify it for your own
/external/libvpx/libvpx/third_party/x86inc/
Dx86inc.asm32 ; to the largest audience possible. Of course, if you modify it for your own
/external/llvm/docs/Frontend/
DPerformanceTips.rst12 The intended audience of this document is developers of language frontends
/external/swiftshader/third_party/llvm-7.0/llvm/docs/Frontend/
DPerformanceTips.rst12 The intended audience of this document is developers of language frontends
/external/python/cpython3/Doc/library/
Dwarnings.rst115 intended audience and the way they're handled by the default warnings
/external/python/cpython2/Doc/howto/
Dlogging.rst786 target audience and what handlers are most appropriate for their
832 which is useful for the target audience for that message (such as end users,
/external/python/cpython3/Doc/howto/
Dlogging.rst830 target audience and what handlers are most appropriate for their
876 which is useful for the target audience for that message (such as end users,

12