Class IAMCredentialsGrpc.IAMCredentialsFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<IAMCredentialsGrpc.IAMCredentialsFutureStub>
-
- com.google.cloud.iam.credentials.v1.IAMCredentialsGrpc.IAMCredentialsFutureStub
-
- Enclosing class:
- IAMCredentialsGrpc
public static final class IAMCredentialsGrpc.IAMCredentialsFutureStub extends io.grpc.stub.AbstractFutureStub<IAMCredentialsGrpc.IAMCredentialsFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service 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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IAMCredentialsGrpc.IAMCredentialsFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<GenerateAccessTokenResponse>
generateAccessToken(GenerateAccessTokenRequest request)
Generates an OAuth 2.0 access token for a service account.com.google.common.util.concurrent.ListenableFuture<GenerateIdTokenResponse>
generateIdToken(GenerateIdTokenRequest request)
Generates an OpenID Connect ID token for a service account.com.google.common.util.concurrent.ListenableFuture<SignBlobResponse>
signBlob(SignBlobRequest request)
Signs a blob using a service account's system-managed private key.com.google.common.util.concurrent.ListenableFuture<SignJwtResponse>
signJwt(SignJwtRequest request)
Signs a JWT using a service account's system-managed private key.
-
-
-
Method Detail
-
build
protected IAMCredentialsGrpc.IAMCredentialsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<IAMCredentialsGrpc.IAMCredentialsFutureStub>
-
generateAccessToken
public com.google.common.util.concurrent.ListenableFuture<GenerateAccessTokenResponse> generateAccessToken(GenerateAccessTokenRequest request)
Generates an OAuth 2.0 access token for a service account.
-
generateIdToken
public com.google.common.util.concurrent.ListenableFuture<GenerateIdTokenResponse> generateIdToken(GenerateIdTokenRequest request)
Generates an OpenID Connect ID token for a service account.
-
signBlob
public com.google.common.util.concurrent.ListenableFuture<SignBlobResponse> signBlob(SignBlobRequest request)
Signs a blob using a service account's system-managed private key.
-
signJwt
public com.google.common.util.concurrent.ListenableFuture<SignJwtResponse> signJwt(SignJwtRequest request)
Signs a JWT using a service account's system-managed private key.
-
-