Home
last modified time | relevance | path

Searched refs:jwt (Results 1 – 25 of 26) sorted by relevance

12

/third_party/grpc/test/core/security/
Djwt_verifier_test.cc373 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 …]
Dcreate_jwt.cc34 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()
Djson_token_test.cc338 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 …]
Dverify_jwt.cc75 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()
Dcredentials_test.cc1364 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/
Djwt_credentials.cc82 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()
Djwt_verifier.h110 grpc_pollset* pollset, const char* jwt,
Djwt_verifier.cc846 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/
Dcheck_on_pr.py24 import jwt
40 return jwt.encode(
/third_party/grpc/test/distrib/ruby/
Ddistribtest.gemspec18 s.add_dependency 'jwt', '< 2.0'
/third_party/mesa3d/.gitlab-ci/lava/
Dlava_job_submitter.py150 'export CI_JOB_JWT="{}"'.format(args.jwt),
289 censored_args.jwt = "jwt-hidden"
Dlava-submit.sh42 --jwt "${CI_JOB_JWT}" \
/third_party/grpc/src/python/grpcio_tests/tests/interop/
Dclient.py20 from google.auth import jwt as google_auth_jwt
/third_party/node/deps/npm/node_modules/mime-db/
DHISTORY.md238 * Add `application/jwt`
/third_party/grpc/
DgRPC-Core.podspec857 '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',
DgRPC-C++.podspec525 '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',
DBUILD.gn1036 "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",
DBUILD1786 "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",
Dconfig.m4406 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)
Dconfig.w32374 "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");
Dgrpc.gyp762 '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/
DDoxyfile.c++.internal1736 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 \
DDoxyfile.core.internal1555 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/
Dgo.sum514 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/
Dgo.sum152 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…

12