[BindServiceMethod(typeof(IAMCredentials), "BindService")]
public abstract class IAMCredentialsBaseBase class for server-side implementations of IAMCredentials
Namespace
Google.Cloud.Iam.Credentials.V1Assembly
Google.Cloud.Iam.Credentials.V1.dll
Methods
GenerateAccessToken(GenerateAccessTokenRequest, ServerCallContext)
public virtual Task<GenerateAccessTokenResponse> GenerateAccessToken(GenerateAccessTokenRequest request, ServerCallContext context)Generates an OAuth 2.0 access token for a service account.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateAccessTokenRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<GenerateAccessTokenResponse> |
The response to send back to the client (wrapped by a task). |
GenerateIdToken(GenerateIdTokenRequest, ServerCallContext)
public virtual Task<GenerateIdTokenResponse> GenerateIdToken(GenerateIdTokenRequest request, ServerCallContext context)Generates an OpenID Connect ID token for a service account.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateIdTokenRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<GenerateIdTokenResponse> |
The response to send back to the client (wrapped by a task). |
SignBlob(SignBlobRequest, ServerCallContext)
public virtual Task<SignBlobResponse> SignBlob(SignBlobRequest request, ServerCallContext context)Signs a blob using a service account's system-managed private key.
| Parameters | |
|---|---|
| Name | Description |
request |
SignBlobRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<SignBlobResponse> |
The response to send back to the client (wrapped by a task). |
SignJwt(SignJwtRequest, ServerCallContext)
public virtual Task<SignJwtResponse> SignJwt(SignJwtRequest request, ServerCallContext context)Signs a JWT using a service account's system-managed private key.
| Parameters | |
|---|---|
| Name | Description |
request |
SignJwtRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<SignJwtResponse> |
The response to send back to the client (wrapped by a task). |