GRPC Core  9.0.0
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
 
- 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 **error) override
 
void cancel_get_request_metadata (grpc_credentials_mdelem_array *md_array, grpc_error *error) override
 
void on_http_response (grpc_credentials_metadata_request *r, grpc_error *error)
 
- Public Member Functions inherited from grpc_call_credentials
 grpc_call_credentials (const char *type)
 
virtual ~grpc_call_credentials ()=default
 
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)
 
bool RefIfNonZero ()
 
bool RefIfNonZero (const DebugLocation &location, const char *reason)
 
 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 (TraceFlagT *trace_flag=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)

◆ ~grpc_google_refresh_token_credentials()

grpc_google_refresh_token_credentials::~grpc_google_refresh_token_credentials ( )
override

Member Function Documentation

◆ 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: