Class IAMCredentials (2.0.0)

public static class IAMCredentials

A service account is a special type of Google account that belongs to your application or a virtual machine (VM), instead of to an individual end user. Your application assumes the identity of the service account to call Google APIs, so that the users aren't directly involved.

Service account credentials are used to temporarily assume the identity of the service account. Supported credential types include OAuth 2.0 access tokens, OpenID Connect ID tokens, self-signed JSON Web Tokens (JWTs), and more.

Inheritance

Object > IAMCredentials

Namespace

Google.Cloud.Iam.Credentials.V1

Assembly

Google.Cloud.Iam.Credentials.V1.dll

Methods

BindService(IAMCredentials.IAMCredentialsBase)

public static ServerServiceDefinition BindService(IAMCredentials.IAMCredentialsBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
NameDescription
serviceImplIAMCredentials.IAMCredentialsBase

An object implementing the server-side handling logic.

Returns
TypeDescription
ServerServiceDefinition

BindService(ServiceBinderBase, IAMCredentials.IAMCredentialsBase)

public static void BindService(ServiceBinderBase serviceBinder, IAMCredentials.IAMCredentialsBase serviceImpl)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.

Parameters
NameDescription
serviceBinderServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImplIAMCredentials.IAMCredentialsBase

An object implementing the server-side handling logic.