Searched refs:refresh_token (Results 1 – 8 of 8) sorted by relevance
/third_party/grpc/test/core/security/ |
D | json_token_test.cc | 376 grpc_auth_refresh_token refresh_token = in test_parse_refresh_token_success() local 378 GPR_ASSERT(grpc_auth_refresh_token_is_valid(&refresh_token)); in test_parse_refresh_token_success() 379 GPR_ASSERT(refresh_token.type != nullptr && in test_parse_refresh_token_success() 380 (strcmp(refresh_token.type, "authorized_user") == 0)); in test_parse_refresh_token_success() 381 GPR_ASSERT(refresh_token.client_id != nullptr && in test_parse_refresh_token_success() 382 (strcmp(refresh_token.client_id, in test_parse_refresh_token_success() 385 refresh_token.client_secret != nullptr && in test_parse_refresh_token_success() 386 (strcmp(refresh_token.client_secret, "EmssLNjJy1332hD4KFsecret") == 0)); in test_parse_refresh_token_success() 387 GPR_ASSERT(refresh_token.refresh_token != nullptr && in test_parse_refresh_token_success() 388 (strcmp(refresh_token.refresh_token, in test_parse_refresh_token_success() [all …]
|
D | fetch_oauth2.cc | 68 grpc_slice refresh_token; in create_refresh_token_creds() local 71 grpc_load_file(json_refresh_token_file_path, 1, &refresh_token))); in create_refresh_token_creds() 73 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(refresh_token), in create_refresh_token_creds() 75 gpr_slice_unref(refresh_token); in create_refresh_token_creds()
|
D | credentials_test.cc | 1390 GPR_ASSERT(strcmp(refresh->refresh_token().client_id, in test_google_default_creds_refresh_token()
|
/third_party/grpc/src/core/lib/security/credentials/oauth2/ |
D | oauth2_credentials.cc | 54 const grpc_auth_refresh_token* refresh_token) { in grpc_auth_refresh_token_is_valid() argument 55 return (refresh_token != nullptr) && in grpc_auth_refresh_token_is_valid() 56 strcmp(refresh_token->type, GRPC_AUTH_JSON_TYPE_INVALID) != 0; in grpc_auth_refresh_token_is_valid() 85 &result.refresh_token)) { in grpc_auth_refresh_token_create_from_json() 106 void grpc_auth_refresh_token_destruct(grpc_auth_refresh_token* refresh_token) { in grpc_auth_refresh_token_destruct() argument 107 if (refresh_token == nullptr) return; in grpc_auth_refresh_token_destruct() 108 refresh_token->type = GRPC_AUTH_JSON_TYPE_INVALID; in grpc_auth_refresh_token_destruct() 109 if (refresh_token->client_id != nullptr) { in grpc_auth_refresh_token_destruct() 110 gpr_free(refresh_token->client_id); in grpc_auth_refresh_token_destruct() 111 refresh_token->client_id = nullptr; in grpc_auth_refresh_token_destruct() [all …]
|
D | oauth2_credentials.h | 41 char* refresh_token; member 45 const grpc_auth_refresh_token* refresh_token); 58 void grpc_auth_refresh_token_destruct(grpc_auth_refresh_token* refresh_token); 111 grpc_auth_refresh_token refresh_token); 114 const grpc_auth_refresh_token& refresh_token() const { in refresh_token() function
|
/third_party/flutter/skia/third_party/externals/angle2/scripts/ |
D | generate_stats.py | 722 if creds and creds.expired and creds.refresh_token:
|
/third_party/skia/third_party/externals/angle2/scripts/ |
D | generate_stats.py | 727 if creds and creds.expired and creds.refresh_token:
|
/third_party/chromium/patch/ |
D | 0004-3.2-Beta5.patch | 29623 base::Unretained(this), result.refresh_token)); 29627 CreateSyncStarter(result.refresh_token);
|