/external/grpc-grpc/src/core/lib/security/credentials/jwt/ |
D | jwt_credentials.cc | 120 grpc_auth_json_key key, gpr_timespec token_lifetime) { in grpc_service_account_jwt_access_credentials_create_from_auth_json_key() argument 133 if (gpr_time_cmp(token_lifetime, max_token_lifetime) > 0) { in grpc_service_account_jwt_access_credentials_create_from_auth_json_key() 137 token_lifetime = grpc_max_auth_token_lifetime(); in grpc_service_account_jwt_access_credentials_create_from_auth_json_key() 139 c->jwt_lifetime = token_lifetime; in grpc_service_account_jwt_access_credentials_create_from_auth_json_key() 169 const char* json_key, gpr_timespec token_lifetime, void* reserved) { in grpc_service_account_jwt_access_credentials_create() argument 179 clean_json, token_lifetime.tv_sec, token_lifetime.tv_nsec, in grpc_service_account_jwt_access_credentials_create() 180 static_cast<int>(token_lifetime.clock_type), reserved); in grpc_service_account_jwt_access_credentials_create() 187 grpc_auth_json_key_create_from_string(json_key), token_lifetime); in grpc_service_account_jwt_access_credentials_create()
|
D | json_token.cc | 183 gpr_timespec token_lifetime, const char* scope) { in encoded_jwt_claim() argument 189 gpr_timespec expiration = gpr_time_add(now, token_lifetime); in encoded_jwt_claim() 192 if (gpr_time_cmp(token_lifetime, grpc_max_auth_token_lifetime()) > 0) { in encoded_jwt_claim() 293 gpr_timespec token_lifetime, const char* scope) { 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()
|
D | json_token.h | 66 gpr_timespec token_lifetime, const char* scope); 71 gpr_timespec token_lifetime, const char* scope);
|
D | jwt_credentials.h | 47 grpc_auth_json_key key, gpr_timespec token_lifetime);
|
/external/grpc-grpc/test/core/security/ |
D | credentials_test.cc | 204 grpc_millis token_lifetime; in test_oauth2_token_fetcher_creds_parsing_ok() local 208 &response, &token_md, &token_lifetime) == GRPC_CREDENTIALS_OK); in test_oauth2_token_fetcher_creds_parsing_ok() 209 GPR_ASSERT(token_lifetime == 3599 * GPR_MS_PER_SEC); in test_oauth2_token_fetcher_creds_parsing_ok() 221 grpc_millis token_lifetime; in test_oauth2_token_fetcher_creds_parsing_bad_http_status() local 225 &response, &token_md, &token_lifetime) == in test_oauth2_token_fetcher_creds_parsing_bad_http_status() 233 grpc_millis token_lifetime; in test_oauth2_token_fetcher_creds_parsing_empty_http_body() local 236 &response, &token_md, &token_lifetime) == in test_oauth2_token_fetcher_creds_parsing_empty_http_body() 244 grpc_millis token_lifetime; in test_oauth2_token_fetcher_creds_parsing_invalid_json() local 251 &response, &token_md, &token_lifetime) == in test_oauth2_token_fetcher_creds_parsing_invalid_json() 259 grpc_millis token_lifetime; in test_oauth2_token_fetcher_creds_parsing_missing_token() local [all …]
|
/external/grpc-grpc/test/cpp/interop/ |
D | client_helper.cc | 96 std::chrono::seconds token_lifetime = std::chrono::hours(1); in CreateChannelForTestCase() local 100 token_lifetime.count()); in CreateChannelForTestCase()
|
D | interop_client.cc | 262 std::chrono::seconds token_lifetime = std::chrono::hours(1); in DoPerRpcCreds() local 264 ServiceAccountJWTAccessCredentials(json_key, token_lifetime.count()); in DoPerRpcCreds()
|
/external/grpc-grpc/src/core/lib/security/credentials/oauth2/ |
D | oauth2_credentials.cc | 120 grpc_millis* token_lifetime) { in grpc_oauth2_token_fetcher_credentials_parse_server_response() argument 187 *token_lifetime = strtol(expires_in->value, nullptr, 10) * GPR_MS_PER_SEC; in grpc_oauth2_token_fetcher_credentials_parse_server_response() 214 grpc_millis token_lifetime; in on_oauth2_token_fetcher_http_response() local 217 &r->response, &access_token_md, &token_lifetime); in on_oauth2_token_fetcher_http_response() 225 gpr_time_from_millis(token_lifetime, GPR_TIMESPAN)) in on_oauth2_token_fetcher_http_response()
|
D | oauth2_credentials.h | 104 grpc_millis* token_lifetime);
|
/external/grpc-grpc/include/grpc/ |
D | grpc_security.h | 245 gpr_timespec token_lifetime,
|
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/ |
D | grpc.pxi | 489 gpr_timespec token_lifetime, void *reserved) nogil
|
/external/grpc-grpc/src/ruby/ext/grpc/ |
D | rb_grpc_imports.generated.h | 356 …t_access_credentials_create_type)(const char* json_key, gpr_timespec token_lifetime, void* reserve…
|