Go to the documentation of this file.
17 #ifndef GRPC_CORE_LIB_SECURITY_CREDENTIALS_EXTERNAL_EXTERNAL_ACCOUNT_CREDENTIALS_H
18 #define GRPC_CORE_LIB_SECURITY_CREDENTIALS_EXTERNAL_EXTERNAL_ACCOUNT_CREDENTIALS_H
26 #include "absl/strings/string_view.h"
64 const Json& json, std::vector<std::string> scopes,
129 #endif // GRPC_CORE_LIB_SECURITY_CREDENTIALS_EXTERNAL_EXTERNAL_ACCOUNT_CREDENTIALS_H
~ExternalAccountCredentials() override
static void OnImpersenateServiceAccount(void *arg, grpc_error_handle error)
static void OnExchangeToken(void *arg, grpc_error_handle error)
grpc_iomgr_cb_func response_cb_
grpc_polling_entity * pollent
std::vector< std::string > scopes_
virtual void RetrieveSubjectToken(HTTPRequestContext *ctx, const Options &options, std::function< void(std::string, grpc_error_handle)> cb)=0
void ImpersenateServiceAccount()
JSON (JavaScript Object Notation).
ExternalAccountCredentials(Options options, std::vector< std::string > scopes)
HTTPRequestContext(grpc_polling_entity *pollent, Timestamp deadline)
void grpc_http_response_destroy(grpc_http_response *response)
void FinishTokenFetch(grpc_error_handle error)
HTTPRequestContext * ctx_
std::string service_account_impersonation_url
void fetch_oauth2(grpc_credentials_metadata_request *req, grpc_polling_entity *pollent, grpc_iomgr_cb_func cb, Timestamp deadline) override
grpc_http_response response
void OnRetrieveSubjectTokenInternal(absl::string_view subject_token, grpc_error_handle error)
std::string debug_string() override
OrphanablePtr< HttpRequest > http_request_
std::string quota_project_id
std::unique_ptr< T, Deleter > OrphanablePtr
void(* grpc_iomgr_cb_func)(void *arg, grpc_error_handle error)
grpc_credentials_metadata_request * metadata_req_
void OnImpersenateServiceAccountInternal(grpc_error_handle error)
std::string workforce_pool_user_project
void ExchangeToken(absl::string_view subject_token)
static RefCountedPtr< ExternalAccountCredentials > Create(const Json &json, std::vector< std::string > scopes, grpc_error_handle *error)
OPENSSL_EXPORT pem_password_cb * cb
std::string token_info_url
std::string subject_token_type
std::string client_secret
void OnExchangeTokenInternal(grpc_error_handle error)
grpc
Author(s):
autogenerated on Fri May 16 2025 02:58:21