Google Cloud IAM C++ Client 2.13.0
A C++ Client Library for Google Cloud IAM
Loading...
Searching...
No Matches
Public Member Functions | List of all members
google::cloud::iam_credentials_v1::IAMCredentialsConnection Class Referenceabstract

The IAMCredentialsConnection object for IAMCredentialsClient. More...

#include <google/cloud/iam/credentials/v1/iam_credentials_connection.h>

Public Member Functions

virtual ~IAMCredentialsConnection ()=0
 
virtual Options options ()
 
virtual StatusOr< google::iam::credentials::v1::GenerateAccessTokenResponse > GenerateAccessToken (google::iam::credentials::v1::GenerateAccessTokenRequest const &request)
 
virtual StatusOr< google::iam::credentials::v1::GenerateIdTokenResponse > GenerateIdToken (google::iam::credentials::v1::GenerateIdTokenRequest const &request)
 
virtual StatusOr< google::iam::credentials::v1::SignBlobResponse > SignBlob (google::iam::credentials::v1::SignBlobRequest const &request)
 
virtual StatusOr< google::iam::credentials::v1::SignJwtResponse > SignJwt (google::iam::credentials::v1::SignJwtRequest const &request)
 

Detailed Description

The IAMCredentialsConnection object for IAMCredentialsClient.

This interface defines virtual methods for each of the user-facing overload sets in IAMCredentialsClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type IAMCredentialsClient.

To create a concrete instance, see MakeIAMCredentialsConnection().

For mocking, see iam_credentials_v1_mocks::MockIAMCredentialsConnection.

Constructor & Destructor Documentation

◆ ~IAMCredentialsConnection()

virtual google::cloud::iam_credentials_v1::IAMCredentialsConnection::~IAMCredentialsConnection ( )
pure virtual

Member Function Documentation

◆ GenerateAccessToken()

virtual StatusOr< google::iam::credentials::v1::GenerateAccessTokenResponse > google::cloud::iam_credentials_v1::IAMCredentialsConnection::GenerateAccessToken ( google::iam::credentials::v1::GenerateAccessTokenRequest const &  request)
virtual

◆ GenerateIdToken()

virtual StatusOr< google::iam::credentials::v1::GenerateIdTokenResponse > google::cloud::iam_credentials_v1::IAMCredentialsConnection::GenerateIdToken ( google::iam::credentials::v1::GenerateIdTokenRequest const &  request)
virtual

◆ options()

virtual Options google::cloud::iam_credentials_v1::IAMCredentialsConnection::options ( )
inlinevirtual

◆ SignBlob()

virtual StatusOr< google::iam::credentials::v1::SignBlobResponse > google::cloud::iam_credentials_v1::IAMCredentialsConnection::SignBlob ( google::iam::credentials::v1::SignBlobRequest const &  request)
virtual

◆ SignJwt()

virtual StatusOr< google::iam::credentials::v1::SignJwtResponse > google::cloud::iam_credentials_v1::IAMCredentialsConnection::SignJwt ( google::iam::credentials::v1::SignJwtRequest const &  request)
virtual