Public Member Functions | Protected Member Functions | Private Attributes | List of all members
grpc_google_refresh_token_credentials Class Referencefinal

#include <oauth2_credentials.h>

Inheritance diagram for grpc_google_refresh_token_credentials:
Inheritance graph
[legend]

Public Member Functions

std::string debug_string () override
 
 grpc_google_refresh_token_credentials (grpc_auth_refresh_token refresh_token)
 
const grpc_auth_refresh_tokenrefresh_token () const
 
grpc_core::UniqueTypeName type () const override
 
 ~grpc_google_refresh_token_credentials () override
 
- Public Member Functions inherited from grpc_oauth2_token_fetcher_credentials
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_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
 

Protected Member Functions

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

Private Attributes

grpc_closure http_post_cb_closure_
 
grpc_core::OrphanablePtr< grpc_core::HttpRequesthttp_request_
 
grpc_auth_refresh_token refresh_token_
 

Additional Inherited Members

- Public Types inherited from grpc_core::RefCounted< grpc_call_credentials >
using RefCountedChildType = grpc_call_credentials
 

Detailed Description

Definition at line 148 of file oauth2_credentials.h.

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

Definition at line 471 of file oauth2_credentials.cc.

◆ ~grpc_google_refresh_token_credentials()

grpc_google_refresh_token_credentials::~grpc_google_refresh_token_credentials ( )
override

Definition at line 436 of file oauth2_credentials.cc.

Member Function Documentation

◆ debug_string()

std::string grpc_google_refresh_token_credentials::debug_string ( )
overridevirtual

Reimplemented from grpc_oauth2_token_fetcher_credentials.

Definition at line 486 of file oauth2_credentials.cc.

◆ fetch_oauth2()

void grpc_google_refresh_token_credentials::fetch_oauth2 ( grpc_credentials_metadata_request req,
grpc_polling_entity pollent,
grpc_iomgr_cb_func  cb,
grpc_core::Timestamp  deadline 
)
overrideprotectedvirtual

Implements grpc_oauth2_token_fetcher_credentials.

Definition at line 440 of file oauth2_credentials.cc.

◆ refresh_token()

const grpc_auth_refresh_token& grpc_google_refresh_token_credentials::refresh_token ( ) const
inline

Definition at line 155 of file oauth2_credentials.h.

◆ type()

grpc_core::UniqueTypeName grpc_google_refresh_token_credentials::type ( ) const
overridevirtual

Reimplemented from grpc_oauth2_token_fetcher_credentials.

Definition at line 492 of file oauth2_credentials.cc.

Member Data Documentation

◆ http_post_cb_closure_

grpc_closure grpc_google_refresh_token_credentials::http_post_cb_closure_
private

Definition at line 170 of file oauth2_credentials.h.

◆ http_request_

grpc_core::OrphanablePtr<grpc_core::HttpRequest> grpc_google_refresh_token_credentials::http_request_
private

Definition at line 171 of file oauth2_credentials.h.

◆ refresh_token_

grpc_auth_refresh_token grpc_google_refresh_token_credentials::refresh_token_
private

Definition at line 169 of file oauth2_credentials.h.


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


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