Home
last modified time | relevance | path

Searched refs:grpc_auth_json_key (Results 1 – 9 of 9) sorted by relevance

/third_party/grpc/src/core/lib/security/credentials/jwt/
Djson_token.h35 struct grpc_auth_json_key { struct
43 int grpc_auth_json_key_is_valid(const grpc_auth_json_key* json_key); argument
47 grpc_auth_json_key grpc_auth_json_key_create_from_string(
52 grpc_auth_json_key grpc_auth_json_key_create_from_json(
56 void grpc_auth_json_key_destruct(grpc_auth_json_key* json_key);
62 char* grpc_jwt_encode_and_sign(const grpc_auth_json_key* json_key,
68 const grpc_auth_json_key* json_key, const char* audience,
Djson_token.cc65 int grpc_auth_json_key_is_valid(const grpc_auth_json_key* json_key) { in grpc_auth_json_key_is_valid()
70 grpc_auth_json_key grpc_auth_json_key_create_from_json(const Json& json) { in grpc_auth_json_key_create_from_json()
71 grpc_auth_json_key result; in grpc_auth_json_key_create_from_json()
77 memset(&result, 0, sizeof(grpc_auth_json_key)); in grpc_auth_json_key_create_from_json()
125 grpc_auth_json_key grpc_auth_json_key_create_from_string( in grpc_auth_json_key_create_from_string()
133 void grpc_auth_json_key_destruct(grpc_auth_json_key* json_key) { in grpc_auth_json_key_destruct()
166 static char* encoded_jwt_claim(const grpc_auth_json_key* json_key, in encoded_jwt_claim()
223 char* compute_and_encode_signature(const grpc_auth_json_key* json_key, in compute_and_encode_signature()
265 char* grpc_jwt_encode_and_sign(const grpc_auth_json_key* json_key, in grpc_jwt_encode_and_sign()
Djwt_credentials.h36 grpc_service_account_jwt_access_credentials(grpc_auth_json_key key,
50 const grpc_auth_json_key& key() const { return key_; } in key()
71 grpc_auth_json_key key_;
79 grpc_auth_json_key key, gpr_timespec token_lifetime);
Djwt_credentials.cc117 grpc_service_account_jwt_access_credentials(grpc_auth_json_key key, in grpc_service_account_jwt_access_credentials()
134 grpc_auth_json_key key, gpr_timespec token_lifetime) { in grpc_service_account_jwt_access_credentials_create_from_auth_json_key()
/third_party/grpc/test/core/security/
Djson_token_test.cc99 grpc_auth_json_key json_key = in test_parse_json_key_success()
129 grpc_auth_json_key json_key = in test_parse_json_key_failure_bad_json()
145 grpc_auth_json_key json_key = in test_parse_json_key_failure_no_type()
160 grpc_auth_json_key json_key = in test_parse_json_key_failure_no_client_id()
174 grpc_auth_json_key json_key = in test_parse_json_key_failure_no_client_email()
189 grpc_auth_json_key json_key = in test_parse_json_key_failure_no_private_key_id()
204 grpc_auth_json_key json_key = in test_parse_json_key_failure_no_private_key()
312 const grpc_auth_json_key* key) { in service_account_creds_jwt_encode_and_sign()
317 static char* jwt_creds_jwt_encode_and_sign(const grpc_auth_json_key* key) { in jwt_creds_jwt_encode_and_sign()
331 char* (*jwt_encode_and_sign_func)(const grpc_auth_json_key*), in test_jwt_encode_and_sign() argument
[all …]
Djwt_verifier_test.cc375 grpc_auth_json_key key = grpc_auth_json_key_create_from_string(key_str); in test_jwt_verifier_google_email_issuer_success()
408 grpc_auth_json_key key = grpc_auth_json_key_create_from_string(key_str); in test_jwt_verifier_custom_email_issuer_success()
455 grpc_auth_json_key key = grpc_auth_json_key_create_from_string(key_str); in test_jwt_verifier_url_issuer_success()
494 grpc_auth_json_key key = grpc_auth_json_key_create_from_string(key_str); in test_jwt_verifier_url_issuer_bad_config()
517 grpc_auth_json_key key = grpc_auth_json_key_create_from_string(key_str); in test_jwt_verifier_bad_json_key()
568 grpc_auth_json_key key = grpc_auth_json_key_create_from_string(key_str); in test_jwt_verifier_bad_signature()
Dcreate_jwt.cc33 grpc_auth_json_key key; in create_jwt()
Dcredentials_test.cc1169 const grpc_auth_json_key* json_key, const char* scope, in validate_jwt_encode_and_sign_params()
1191 static char* encode_and_sign_jwt_success(const grpc_auth_json_key* json_key, in encode_and_sign_jwt_success()
1199 static char* encode_and_sign_jwt_failure(const grpc_auth_json_key* json_key, in encode_and_sign_jwt_failure()
1208 const grpc_auth_json_key* /*json_key*/, const char* /*audience*/, in encode_and_sign_jwt_should_not_be_called() argument
/third_party/grpc/src/core/lib/security/credentials/google_default/
Dgoogle_default_credentials.cc227 grpc_auth_json_key key; in create_default_creds_from_path()