Home
last modified time | relevance | path

Searched refs:jwt_creds (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc/test/core/security/
Dcredentials_test.cc772 grpc_call_credentials* jwt_creds = in test_jwt_creds_lifetime() local
775 GPR_ASSERT(gpr_time_cmp(creds_as_jwt(jwt_creds)->jwt_lifetime, in test_jwt_creds_lifetime()
777 grpc_call_credentials_release(jwt_creds); in test_jwt_creds_lifetime()
782 jwt_creds = grpc_service_account_jwt_access_credentials_create( in test_jwt_creds_lifetime()
785 gpr_time_cmp(creds_as_jwt(jwt_creds)->jwt_lifetime, token_lifetime) == 0); in test_jwt_creds_lifetime()
786 grpc_call_credentials_release(jwt_creds); in test_jwt_creds_lifetime()
791 jwt_creds = grpc_service_account_jwt_access_credentials_create( in test_jwt_creds_lifetime()
793 GPR_ASSERT(gpr_time_cmp(creds_as_jwt(jwt_creds)->jwt_lifetime, in test_jwt_creds_lifetime()
795 grpc_call_credentials_release(jwt_creds); in test_jwt_creds_lifetime()
/external/rust/crates/grpcio-sys/grpc/test/core/security/
Dcredentials_test.cc1326 grpc_call_credentials* jwt_creds = in test_jwt_creds_lifetime() local
1329 GPR_ASSERT(gpr_time_cmp(creds_as_jwt(jwt_creds)->jwt_lifetime(), in test_jwt_creds_lifetime()
1332 GPR_ASSERT(jwt_creds->min_security_level() == GRPC_PRIVACY_AND_INTEGRITY); in test_jwt_creds_lifetime()
1334 jwt_creds->debug_string().c_str(), in test_jwt_creds_lifetime()
1336 grpc_call_credentials_release(jwt_creds); in test_jwt_creds_lifetime()
1341 jwt_creds = grpc_service_account_jwt_access_credentials_create( in test_jwt_creds_lifetime()
1343 GPR_ASSERT(gpr_time_cmp(creds_as_jwt(jwt_creds)->jwt_lifetime(), in test_jwt_creds_lifetime()
1346 jwt_creds->debug_string().c_str(), in test_jwt_creds_lifetime()
1348 grpc_call_credentials_release(jwt_creds); in test_jwt_creds_lifetime()
1353 jwt_creds = grpc_service_account_jwt_access_credentials_create( in test_jwt_creds_lifetime()
[all …]