/third_party/grpc/test/core/security/ |
D | jwt_verifier_test.cc | 373 char* jwt = nullptr; in test_jwt_verifier_google_email_issuer_success() local 380 jwt = grpc_jwt_encode_and_sign(&key, expected_audience, expected_lifetime, in test_jwt_verifier_google_email_issuer_success() 383 GPR_ASSERT(jwt != nullptr); in test_jwt_verifier_google_email_issuer_success() 384 grpc_jwt_verifier_verify(verifier, nullptr, jwt, expected_audience, in test_jwt_verifier_google_email_issuer_success() 388 gpr_free(jwt); in test_jwt_verifier_google_email_issuer_success() 406 char* jwt = nullptr; in test_jwt_verifier_custom_email_issuer_success() local 413 jwt = grpc_jwt_encode_and_sign(&key, expected_audience, expected_lifetime, in test_jwt_verifier_custom_email_issuer_success() 416 GPR_ASSERT(jwt != nullptr); in test_jwt_verifier_custom_email_issuer_success() 417 grpc_jwt_verifier_verify(verifier, nullptr, jwt, expected_audience, in test_jwt_verifier_custom_email_issuer_success() 421 gpr_free(jwt); in test_jwt_verifier_custom_email_issuer_success() [all …]
|
D | create_jwt.cc | 34 char* jwt; in create_jwt() local 46 jwt = grpc_jwt_encode_and_sign( in create_jwt() 50 if (jwt == nullptr) { in create_jwt() 55 fprintf(stdout, "%s\n", jwt); in create_jwt() 56 gpr_free(jwt); in create_jwt()
|
D | json_token_test.cc | 338 char* jwt = jwt_encode_and_sign_func(&json_key); in test_jwt_encode_and_sign() local 339 const char* dot = strchr(jwt, '.'); in test_jwt_encode_and_sign() 342 parse_json_part_from_jwt(jwt, static_cast<size_t>(dot - jwt)); in test_jwt_encode_and_sign() 345 offset = static_cast<size_t>(dot - jwt) + 1; in test_jwt_encode_and_sign() 347 dot = strchr(jwt + offset, '.'); in test_jwt_encode_and_sign() 350 jwt + offset, static_cast<size_t>(dot - (jwt + offset))); in test_jwt_encode_and_sign() 353 offset = static_cast<size_t>(dot - jwt) + 1; in test_jwt_encode_and_sign() 355 dot = strchr(jwt + offset, '.'); in test_jwt_encode_and_sign() 357 b64_signature = jwt + offset; in test_jwt_encode_and_sign() 358 check_jwt_signature(b64_signature, json_key.private_key, jwt, offset - 1); in test_jwt_encode_and_sign() [all …]
|
D | verify_jwt.cc | 75 const char* jwt = nullptr; in main() local 81 gpr_cmdline_add_string(cl, "jwt", "JSON web token to verify", &jwt); in main() 84 if (jwt == nullptr || aud == nullptr) { in main() 96 grpc_jwt_verifier_verify(verifier, sync.pollset, jwt, aud, in main()
|
D | credentials_test.cc | 1364 auto* jwt = in test_google_default_creds_auth_key() local 1368 strcmp(jwt->key().client_id, in test_google_default_creds_auth_key()
|
/third_party/grpc/src/core/lib/security/credentials/jwt/ |
D | jwt_credentials.cc | 82 char* jwt = nullptr; in get_request_metadata() local 86 jwt = grpc_jwt_encode_and_sign(&key_, context.service_url, jwt_lifetime_, in get_request_metadata() 88 if (jwt != nullptr) { in get_request_metadata() 89 std::string md_value = absl::StrCat("Bearer ", jwt); in get_request_metadata() 90 gpr_free(jwt); in get_request_metadata()
|
D | jwt_verifier.h | 110 grpc_pollset* pollset, const char* jwt,
|
D | jwt_verifier.cc | 846 grpc_pollset* pollset, const char* jwt, in grpc_jwt_verifier_verify() argument 855 const char* cur = jwt; in grpc_jwt_verifier_verify() 858 GPR_ASSERT(verifier != nullptr && jwt != nullptr && audience != nullptr && in grpc_jwt_verifier_verify() 875 signed_jwt_len = static_cast<size_t>(dot - jwt); in grpc_jwt_verifier_verify() 881 signature, jwt, signed_jwt_len, user_data, cb)); in grpc_jwt_verifier_verify()
|
/third_party/grpc/tools/run_tests/python_utils/ |
D | check_on_pr.py | 24 import jwt 40 return jwt.encode(
|
/third_party/grpc/test/distrib/ruby/ |
D | distribtest.gemspec | 18 s.add_dependency 'jwt', '< 2.0'
|
/third_party/mesa3d/.gitlab-ci/lava/ |
D | lava_job_submitter.py | 150 'export CI_JOB_JWT="{}"'.format(args.jwt), 289 censored_args.jwt = "jwt-hidden"
|
D | lava-submit.sh | 42 --jwt "${CI_JOB_JWT}" \
|
/third_party/grpc/src/python/grpcio_tests/tests/interop/ |
D | client.py | 20 from google.auth import jwt as google_auth_jwt
|
/third_party/node/deps/npm/node_modules/mime-db/ |
D | HISTORY.md | 238 * Add `application/jwt`
|
/third_party/grpc/ |
D | gRPC-Core.podspec | 857 'src/core/lib/security/credentials/jwt/json_token.cc', 858 'src/core/lib/security/credentials/jwt/json_token.h', 859 'src/core/lib/security/credentials/jwt/jwt_credentials.cc', 860 'src/core/lib/security/credentials/jwt/jwt_credentials.h', 861 'src/core/lib/security/credentials/jwt/jwt_verifier.cc', 862 'src/core/lib/security/credentials/jwt/jwt_verifier.h', 1408 'src/core/lib/security/credentials/jwt/json_token.h', 1409 'src/core/lib/security/credentials/jwt/jwt_credentials.h', 1410 'src/core/lib/security/credentials/jwt/jwt_verifier.h',
|
D | gRPC-C++.podspec | 525 'src/core/lib/security/credentials/jwt/json_token.h', 526 'src/core/lib/security/credentials/jwt/jwt_credentials.h', 527 'src/core/lib/security/credentials/jwt/jwt_verifier.h', 1012 'src/core/lib/security/credentials/jwt/json_token.h', 1013 'src/core/lib/security/credentials/jwt/jwt_credentials.h', 1014 'src/core/lib/security/credentials/jwt/jwt_verifier.h',
|
D | BUILD.gn | 1036 "src/core/lib/security/credentials/jwt/json_token.cc", 1037 "src/core/lib/security/credentials/jwt/json_token.h", 1038 "src/core/lib/security/credentials/jwt/jwt_credentials.cc", 1039 "src/core/lib/security/credentials/jwt/jwt_credentials.h", 1040 "src/core/lib/security/credentials/jwt/jwt_verifier.cc", 1041 "src/core/lib/security/credentials/jwt/jwt_verifier.h",
|
D | BUILD | 1786 "src/core/lib/security/credentials/jwt/json_token.cc", 1787 "src/core/lib/security/credentials/jwt/jwt_credentials.cc", 1788 "src/core/lib/security/credentials/jwt/jwt_verifier.cc", 1824 "src/core/lib/security/credentials/jwt/json_token.h", 1825 "src/core/lib/security/credentials/jwt/jwt_credentials.h", 1826 "src/core/lib/security/credentials/jwt/jwt_verifier.h",
|
D | config.m4 | 406 src/core/lib/security/credentials/jwt/json_token.cc \ 407 src/core/lib/security/credentials/jwt/jwt_credentials.cc \ 408 src/core/lib/security/credentials/jwt/jwt_verifier.cc \ 946 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/credentials/jwt)
|
D | config.w32 | 374 "src\\core\\lib\\security\\credentials\\jwt\\json_token.cc " + 375 "src\\core\\lib\\security\\credentials\\jwt\\jwt_credentials.cc " + 376 "src\\core\\lib\\security\\credentials\\jwt\\jwt_verifier.cc " + 975 FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\security\\credentials\\jwt");
|
D | grpc.gyp | 762 'src/core/lib/security/credentials/jwt/json_token.cc', 763 'src/core/lib/security/credentials/jwt/jwt_credentials.cc', 764 'src/core/lib/security/credentials/jwt/jwt_verifier.cc',
|
/third_party/grpc/tools/doxygen/ |
D | Doxyfile.c++.internal | 1736 src/core/lib/security/credentials/jwt/json_token.cc \ 1737 src/core/lib/security/credentials/jwt/json_token.h \ 1738 src/core/lib/security/credentials/jwt/jwt_credentials.cc \ 1739 src/core/lib/security/credentials/jwt/jwt_credentials.h \ 1740 src/core/lib/security/credentials/jwt/jwt_verifier.cc \ 1741 src/core/lib/security/credentials/jwt/jwt_verifier.h \
|
D | Doxyfile.core.internal | 1555 src/core/lib/security/credentials/jwt/json_token.cc \ 1556 src/core/lib/security/credentials/jwt/json_token.h \ 1557 src/core/lib/security/credentials/jwt/jwt_credentials.cc \ 1558 src/core/lib/security/credentials/jwt/jwt_credentials.h \ 1559 src/core/lib/security/credentials/jwt/jwt_verifier.cc \ 1560 src/core/lib/security/credentials/jwt/jwt_verifier.h \
|
/third_party/skia/ |
D | go.sum | 514 github.com/dgrijalva/jwt-go v3.2.0+incompatible h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM= 515 github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJC… 583 github.com/form3tech-oss/jwt-go v3.2.2+incompatible h1:TcekIExNqud5crz4xD2pavyTgWiPvpYe4Xau31I0PRk= 584 github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneD… 1320 github.com/nats-io/jwt v0.3.0/go.mod h1:fRYCDE99xlTsqUzISS1Bi75UBJ6ljOJQOAAu5VglpSg= 1321 github.com/nats-io/jwt v0.3.2 h1:+RB5hMpXUUA2dfxuhBTEkMOrYmM+gKIZYS1KjSostMI= 1322 github.com/nats-io/jwt v0.3.2/go.mod h1:/euKqTS1ZD+zzjYrY7pseZrTtWQSjujC7xjPc8wL6eU=
|
/third_party/flutter/skia/ |
D | go.sum | 152 github.com/dgrijalva/jwt-go v0.0.0-20160705203006-01aeca54ebda/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrC… 153 github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJC…
|