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.
Namespace
Google.Cloud.Iam.Credentials.V1Assembly
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 | |
---|---|
Name | Description |
serviceImpl | IAMCredentials.IAMCredentialsBase An object implementing the server-side handling logic. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
serviceBinder | ServiceBinderBase Service methods will be bound by calling |
serviceImpl | IAMCredentials.IAMCredentialsBase An object implementing the server-side handling logic. |