public static final class IAMCredentialsGrpc.IAMCredentialsBlockingStub extends io.grpc.stub.AbstractBlockingStub<IAMCredentialsGrpc.IAMCredentialsBlockingStub>
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.
| Modifier and Type | Method and Description |
|---|---|
protected IAMCredentialsGrpc.IAMCredentialsBlockingStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
GenerateAccessTokenResponse |
generateAccessToken(GenerateAccessTokenRequest request)
Generates an OAuth 2.0 access token for a service account.
|
GenerateIdTokenResponse |
generateIdToken(GenerateIdTokenRequest request)
Generates an OpenID Connect ID token for a service account.
|
SignBlobResponse |
signBlob(SignBlobRequest request)
Signs a blob using a service account's system-managed private key.
|
SignJwtResponse |
signJwt(SignJwtRequest request)
Signs a JWT using a service account's system-managed private key.
|
protected IAMCredentialsGrpc.IAMCredentialsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<IAMCredentialsGrpc.IAMCredentialsBlockingStub>public GenerateAccessTokenResponse generateAccessToken(GenerateAccessTokenRequest request)
Generates an OAuth 2.0 access token for a service account.
public GenerateIdTokenResponse generateIdToken(GenerateIdTokenRequest request)
Generates an OpenID Connect ID token for a service account.
public SignBlobResponse signBlob(SignBlobRequest request)
Signs a blob using a service account's system-managed private key.
public SignJwtResponse signJwt(SignJwtRequest request)
Signs a JWT using a service account's system-managed private key.
Copyright © 2024 Google LLC. All rights reserved.