GRPC C++  1.39.1
Public Member Functions | Protected Member Functions
grpc_google_refresh_token_credentials Class Referencefinal

#include <oauth2_credentials.h>

Public Member Functions

 grpc_google_refresh_token_credentials (grpc_auth_refresh_token refresh_token)
 
 ~grpc_google_refresh_token_credentials () override
 
const grpc_auth_refresh_tokenrefresh_token () const
 
std::string debug_string () override
 
- Public Member Functions inherited from grpc_oauth2_token_fetcher_credentials
 grpc_oauth2_token_fetcher_credentials ()
 
 ~grpc_oauth2_token_fetcher_credentials () override
 
bool get_request_metadata (grpc_polling_entity *pollent, grpc_auth_metadata_context context, grpc_credentials_mdelem_array *md_array, grpc_closure *on_request_metadata, grpc_error_handle *error) override
 
void cancel_get_request_metadata (grpc_credentials_mdelem_array *md_array, grpc_error_handle error) override
 
void on_http_response (grpc_credentials_metadata_request *r, grpc_error_handle error)
 
- Public Member Functions inherited from grpc_call_credentials
 grpc_call_credentials (const char *type, grpc_security_level min_security_level=GRPC_PRIVACY_AND_INTEGRITY)
 
 ~grpc_call_credentials () override=default
 
virtual grpc_security_level min_security_level () const
 
const char * type () const
 
- Public Member Functions inherited from grpc_core::RefCounted< grpc_call_credentials >
 ~RefCounted ()=default
 
RefCountedPtr< grpc_call_credentialsRef () GRPC_MUST_USE_RESULT
 
RefCountedPtr< grpc_call_credentialsRef (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void Unref ()
 
void Unref (const DebugLocation &location, const char *reason)
 
RefCountedPtr< grpc_call_credentialsRefIfNonZero () GRPC_MUST_USE_RESULT
 
RefCountedPtr< grpc_call_credentialsRefIfNonZero (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
 RefCounted (const RefCounted &)=delete
 
RefCountedoperator= (const RefCounted &)=delete
 
- Public Member Functions inherited from grpc_core::PolymorphicRefCount
virtual ~PolymorphicRefCount ()=default
 

Protected Member Functions

void fetch_oauth2 (grpc_credentials_metadata_request *req, grpc_httpcli_context *httpcli_context, grpc_polling_entity *pollent, grpc_iomgr_cb_func cb, grpc_millis deadline) override
 
- Protected Member Functions inherited from grpc_core::RefCounted< grpc_call_credentials >
 RefCounted (const char *trace=nullptr, intptr_t initial_refcount=1)
 

Constructor & Destructor Documentation

◆ grpc_google_refresh_token_credentials()

grpc_google_refresh_token_credentials::grpc_google_refresh_token_credentials ( grpc_auth_refresh_token  refresh_token)
explicit

◆ ~grpc_google_refresh_token_credentials()

grpc_google_refresh_token_credentials::~grpc_google_refresh_token_credentials ( )
override

Member Function Documentation

◆ debug_string()

std::string grpc_google_refresh_token_credentials::debug_string ( )
overridevirtual

◆ fetch_oauth2()

void grpc_google_refresh_token_credentials::fetch_oauth2 ( grpc_credentials_metadata_request req,
grpc_httpcli_context httpcli_context,
grpc_polling_entity pollent,
grpc_iomgr_cb_func  cb,
grpc_millis  deadline 
)
overrideprotectedvirtual

◆ refresh_token()

const grpc_auth_refresh_token& grpc_google_refresh_token_credentials::refresh_token ( ) const
inline

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