Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
grpc_core::FileExternalAccountCredentials Class Referencefinal

#include <file_external_account_credentials.h>

Inheritance diagram for grpc_core::FileExternalAccountCredentials:
Inheritance graph
[legend]

Public Member Functions

 FileExternalAccountCredentials (Options options, std::vector< std::string > scopes, grpc_error_handle *error)
 
- Public Member Functions inherited from grpc_core::ExternalAccountCredentials
std::string debug_string () override
 
 ExternalAccountCredentials (Options options, std::vector< std::string > scopes)
 
 ~ExternalAccountCredentials () override
 
- Public Member Functions inherited from grpc_oauth2_token_fetcher_credentials
std::string debug_string () override
 
grpc_core::ArenaPromise< absl::StatusOr< grpc_core::ClientMetadataHandle > > GetRequestMetadata (grpc_core::ClientMetadataHandle initial_metadata, const GetRequestMetadataArgs *args) override
 
 grpc_oauth2_token_fetcher_credentials ()
 
void on_http_response (grpc_credentials_metadata_request *r, grpc_error_handle error)
 
grpc_core::UniqueTypeName type () const override
 
 ~grpc_oauth2_token_fetcher_credentials () override
 
- Public Member Functions inherited from grpc_call_credentials
int cmp (const grpc_call_credentials *other) const
 
 grpc_call_credentials (grpc_security_level min_security_level=GRPC_PRIVACY_AND_INTEGRITY)
 
virtual grpc_security_level min_security_level () const
 
 ~grpc_call_credentials () override=default
 
- Public Member Functions inherited from grpc_core::RefCounted< grpc_call_credentials >
RefCountedoperator= (const RefCounted &)=delete
 
RefCountedPtr< grpc_call_credentialsRef () GRPC_MUST_USE_RESULT
 
RefCountedPtr< grpc_call_credentialsRef (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
 RefCounted (const RefCounted &)=delete
 
RefCountedPtr< grpc_call_credentialsRefIfNonZero () GRPC_MUST_USE_RESULT
 
RefCountedPtr< grpc_call_credentialsRefIfNonZero (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void Unref ()
 
void Unref (const DebugLocation &location, const char *reason)
 
 ~RefCounted ()=default
 
- Public Member Functions inherited from grpc_core::PolymorphicRefCount
virtual ~PolymorphicRefCount ()=default
 

Static Public Member Functions

static RefCountedPtr< FileExternalAccountCredentialsCreate (Options options, std::vector< std::string > scopes, grpc_error_handle *error)
 
- Static Public Member Functions inherited from grpc_core::ExternalAccountCredentials
static RefCountedPtr< ExternalAccountCredentialsCreate (const Json &json, std::vector< std::string > scopes, grpc_error_handle *error)
 

Private Member Functions

void RetrieveSubjectToken (HTTPRequestContext *ctx, const Options &options, std::function< void(std::string, grpc_error_handle)> cb) override
 

Private Attributes

std::string file_
 
std::string format_subject_token_field_name_
 
std::string format_type_
 

Additional Inherited Members

- Public Types inherited from grpc_core::RefCounted< grpc_call_credentials >
using RefCountedChildType = grpc_call_credentials
 
- Protected Member Functions inherited from grpc_core::RefCounted< grpc_call_credentials >
 RefCounted (const char *trace=nullptr, intptr_t initial_refcount=1)
 

Detailed Description

Definition at line 32 of file file_external_account_credentials.h.

Constructor & Destructor Documentation

◆ FileExternalAccountCredentials()

grpc_core::FileExternalAccountCredentials::FileExternalAccountCredentials ( Options  options,
std::vector< std::string >  scopes,
grpc_error_handle error 
)

Definition at line 47 of file file_external_account_credentials.cc.

Member Function Documentation

◆ Create()

RefCountedPtr< FileExternalAccountCredentials > grpc_core::FileExternalAccountCredentials::Create ( Options  options,
std::vector< std::string >  scopes,
grpc_error_handle error 
)
static

Definition at line 35 of file file_external_account_credentials.cc.

◆ RetrieveSubjectToken()

void grpc_core::FileExternalAccountCredentials::RetrieveSubjectToken ( HTTPRequestContext ctx,
const Options options,
std::function< void(std::string, grpc_error_handle)>  cb 
)
overrideprivatevirtual

Member Data Documentation

◆ file_

std::string grpc_core::FileExternalAccountCredentials::file_
private

Definition at line 48 of file file_external_account_credentials.h.

◆ format_subject_token_field_name_

std::string grpc_core::FileExternalAccountCredentials::format_subject_token_field_name_
private

Definition at line 50 of file file_external_account_credentials.h.

◆ format_type_

std::string grpc_core::FileExternalAccountCredentials::format_type_
private

Definition at line 49 of file file_external_account_credentials.h.


The documentation for this class was generated from the following files:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:36