Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
grpc_google_iam_credentials Class Reference

#include <iam_credentials.h>

Inheritance diagram for grpc_google_iam_credentials:
Inheritance graph
[legend]

Public Member Functions

std::string debug_string () override
 
grpc_core::ArenaPromise< absl::StatusOr< grpc_core::ClientMetadataHandle > > GetRequestMetadata (grpc_core::ClientMetadataHandle initial_metadata, const GetRequestMetadataArgs *args) override
 
 grpc_google_iam_credentials (const char *token, const char *authority_selector)
 
grpc_core::UniqueTypeName type () const 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 grpc_core::UniqueTypeName Type ()
 

Private Member Functions

int cmp_impl (const grpc_call_credentials *other) const override
 

Private Attributes

const grpc_core::Slice authority_selector_
 
const std::string debug_string_
 
const absl::optional< grpc_core::Slicetoken_
 

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 38 of file iam_credentials.h.

Constructor & Destructor Documentation

◆ grpc_google_iam_credentials()

grpc_google_iam_credentials::grpc_google_iam_credentials ( const char *  token,
const char *  authority_selector 
)

Definition at line 55 of file iam_credentials.cc.

Member Function Documentation

◆ cmp_impl()

int grpc_google_iam_credentials::cmp_impl ( const grpc_call_credentials other) const
inlineoverrideprivatevirtual

Implements grpc_call_credentials.

Definition at line 54 of file iam_credentials.h.

◆ debug_string()

std::string grpc_google_iam_credentials::debug_string ( )
inlineoverridevirtual

Reimplemented from grpc_call_credentials.

Definition at line 47 of file iam_credentials.h.

◆ GetRequestMetadata()

grpc_core::ArenaPromise< absl::StatusOr< grpc_core::ClientMetadataHandle > > grpc_google_iam_credentials::GetRequestMetadata ( grpc_core::ClientMetadataHandle  initial_metadata,
const GetRequestMetadataArgs args 
)
overridevirtual

Implements grpc_call_credentials.

Definition at line 41 of file iam_credentials.cc.

◆ Type()

grpc_core::UniqueTypeName grpc_google_iam_credentials::Type ( )
static

Definition at line 65 of file iam_credentials.cc.

◆ type()

grpc_core::UniqueTypeName grpc_google_iam_credentials::type ( ) const
inlineoverridevirtual

Implements grpc_call_credentials.

Definition at line 51 of file iam_credentials.h.

Member Data Documentation

◆ authority_selector_

const grpc_core::Slice grpc_google_iam_credentials::authority_selector_
private

Definition at line 61 of file iam_credentials.h.

◆ debug_string_

const std::string grpc_google_iam_credentials::debug_string_
private

Definition at line 62 of file iam_credentials.h.

◆ token_

const absl::optional<grpc_core::Slice> grpc_google_iam_credentials::token_
private

Definition at line 60 of file iam_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