#include <external_account_credentials.h>

Classes | |
| struct | HTTPRequestContext |
| struct | Options |
Static Public Member Functions | |
| static RefCountedPtr< ExternalAccountCredentials > | Create (const Json &json, std::vector< std::string > scopes, grpc_error_handle *error) |
Protected Member Functions | |
| virtual void | RetrieveSubjectToken (HTTPRequestContext *ctx, const Options &options, std::function< void(std::string, grpc_error_handle)> cb)=0 |
Protected Member Functions inherited from grpc_core::RefCounted< grpc_call_credentials > | |
| RefCounted (const char *trace=nullptr, intptr_t initial_refcount=1) | |
Private Member Functions | |
| void | ExchangeToken (absl::string_view subject_token) |
| void | fetch_oauth2 (grpc_credentials_metadata_request *req, grpc_polling_entity *pollent, grpc_iomgr_cb_func cb, Timestamp deadline) override |
| void | FinishTokenFetch (grpc_error_handle error) |
| void | ImpersenateServiceAccount () |
| void | OnExchangeTokenInternal (grpc_error_handle error) |
| void | OnImpersenateServiceAccountInternal (grpc_error_handle error) |
| void | OnRetrieveSubjectTokenInternal (absl::string_view subject_token, grpc_error_handle error) |
Static Private Member Functions | |
| static void | OnExchangeToken (void *arg, grpc_error_handle error) |
| static void | OnImpersenateServiceAccount (void *arg, grpc_error_handle error) |
Private Attributes | |
| HTTPRequestContext * | ctx_ = nullptr |
| OrphanablePtr< HttpRequest > | http_request_ |
| grpc_credentials_metadata_request * | metadata_req_ = nullptr |
| Options | options_ |
| grpc_iomgr_cb_func | response_cb_ = nullptr |
| std::vector< std::string > | scopes_ |
Additional Inherited Members | |
Public Types inherited from grpc_core::RefCounted< grpc_call_credentials > | |
| using | RefCountedChildType = grpc_call_credentials |
Definition at line 45 of file external_account_credentials.h.
| grpc_core::ExternalAccountCredentials::ExternalAccountCredentials | ( | Options | options, |
| std::vector< std::string > | scopes | ||
| ) |
Definition at line 228 of file external_account_credentials.cc.
|
override |
Definition at line 237 of file external_account_credentials.cc.
|
static |
Definition at line 102 of file external_account_credentials.cc.
|
overridevirtual |
Reimplemented from grpc_call_credentials.
Definition at line 239 of file external_account_credentials.cc.
|
private |
Definition at line 280 of file external_account_credentials.cc.
|
overrideprivatevirtual |
Implements grpc_oauth2_token_fetcher_credentials.
Definition at line 257 of file external_account_credentials.cc.
|
private |
Definition at line 520 of file external_account_credentials.cc.
|
private |
Definition at line 395 of file external_account_credentials.cc.
|
staticprivate |
Definition at line 363 of file external_account_credentials.cc.
|
private |
Definition at line 370 of file external_account_credentials.cc.
|
staticprivate |
Definition at line 457 of file external_account_credentials.cc.
|
private |
Definition at line 464 of file external_account_credentials.cc.
|
private |
Definition at line 271 of file external_account_credentials.cc.
|
protectedpure virtual |
Implemented in grpc_core::AwsExternalAccountCredentials, and grpc_core::FileExternalAccountCredentials.
|
private |
Definition at line 122 of file external_account_credentials.h.
|
private |
Definition at line 121 of file external_account_credentials.h.
|
private |
Definition at line 123 of file external_account_credentials.h.
|
private |
Definition at line 118 of file external_account_credentials.h.
|
private |
Definition at line 124 of file external_account_credentials.h.
|
private |
Definition at line 119 of file external_account_credentials.h.