Google Cloud IAM C++ Client  2.2.1
A C++ Client Library for Google Cloud IAM
Public Member Functions | List of all members
google::cloud::iam::IAMCredentialsConnection Class Referenceabstract

The IAMCredentialsConnection object for IAMCredentialsClient. More...

#include <google/cloud/iam/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_mocks::MockIAMCredentialsConnection.

Definition at line 60 of file iam_credentials_connection.h.

Constructor & Destructor Documentation

◆ ~IAMCredentialsConnection()

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

Member Function Documentation

◆ GenerateAccessToken()

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

◆ GenerateIdToken()

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

◆ options()

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

Definition at line 64 of file iam_credentials_connection.h.

◆ SignBlob()

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

◆ SignJwt()

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