Package io.deephaven.proto.auth.grpc
Class AuthApiGrpc.AuthApiFutureStub
java.lang.Object
io.deephaven.shadow.core.io.grpc.stub.AbstractStub<S>
io.deephaven.shadow.core.io.grpc.stub.AbstractFutureStub<AuthApiGrpc.AuthApiFutureStub>
io.deephaven.proto.auth.grpc.AuthApiGrpc.AuthApiFutureStub
- Enclosing class:
- AuthApiGrpc
public static final class AuthApiGrpc.AuthApiFutureStub
extends io.deephaven.shadow.core.io.grpc.stub.AbstractFutureStub<AuthApiGrpc.AuthApiFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service AuthApi.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.deephaven.shadow.core.io.grpc.stub.AbstractStub
io.deephaven.shadow.core.io.grpc.stub.AbstractStub.StubFactory<T extends io.deephaven.shadow.core.io.grpc.stub.AbstractStub<T>>
-
Method Summary
Modifier and TypeMethodDescriptionio.deephaven.shadow.core.com.google.common.util.concurrent.ListenableFuture<AuthenticateByCookieResponse>
Authenticate by providing an already existing cookie and the user context that cookie should be associated with.io.deephaven.shadow.core.com.google.common.util.concurrent.ListenableFuture<AuthenticateByDelegateTokenResponse>
Authenticate by delegate token; should have obtained a token earlier from another service that created it and forwarded it.io.deephaven.shadow.core.com.google.common.util.concurrent.ListenableFuture<AuthenticateByExternalResponse>
Authenticate by an external method (eg, active directory).io.deephaven.shadow.core.com.google.common.util.concurrent.ListenableFuture<AuthenticateByPasswordResponse>
Authenticate by password.io.deephaven.shadow.core.com.google.common.util.concurrent.ListenableFuture<AuthenticateByPublicKeyResponse>
Authenticate by public key challenge; should have obtained a nonce earlier via getNonce rpc.protected AuthApiGrpc.AuthApiFutureStub
build
(io.deephaven.shadow.core.io.grpc.Channel channel, io.deephaven.shadow.core.io.grpc.CallOptions callOptions) io.deephaven.shadow.core.com.google.common.util.concurrent.ListenableFuture<GetNonceResponse>
getNonce
(GetNonceRequest request) Get a nonce for public key authentication.io.deephaven.shadow.core.com.google.common.util.concurrent.ListenableFuture<GetTokenResponse>
getToken
(GetTokenRequest request) Get a token for a three-way handshake.io.deephaven.shadow.core.com.google.common.util.concurrent.ListenableFuture<GetTokenAsResponse>
getTokenAs
(GetTokenAsRequest request) Get a token for a three-way handshake as a particular user.io.deephaven.shadow.core.com.google.common.util.concurrent.ListenableFuture<InvalidateCookieResponse>
invalidateCookie
(InvalidateCookieRequest request) Clients that are about to terminate are expected to invalidate their credentials before going away.io.deephaven.shadow.core.com.google.common.util.concurrent.ListenableFuture<PingResponse>
ping
(PingRequest request) Simple ping method that allows a client to sample the latency to the server.io.deephaven.shadow.core.com.google.common.util.concurrent.ListenableFuture<RefreshCookieResponse>
refreshCookie
(RefreshCookieRequest request) Refresh a cookie to maintain credentials.io.deephaven.shadow.core.com.google.common.util.concurrent.ListenableFuture<ReloadResponse>
reload
(ReloadRequest request) Request this server to reload its configuration.io.deephaven.shadow.core.com.google.common.util.concurrent.ListenableFuture<VerifyChallengeResponse>
verifyChallenge
(VerifyChallengeRequest request) Verify a nonce challenge response for another server (not used directly by clients, only server-server)io.deephaven.shadow.core.com.google.common.util.concurrent.ListenableFuture<VerifyTokenResponse>
verifyToken
(VerifyTokenRequest request) Verify a token provided by another service.Methods inherited from class io.deephaven.shadow.core.io.grpc.stub.AbstractFutureStub
newStub, newStub
Methods inherited from class io.deephaven.shadow.core.io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected AuthApiGrpc.AuthApiFutureStub build(io.deephaven.shadow.core.io.grpc.Channel channel, io.deephaven.shadow.core.io.grpc.CallOptions callOptions) - Specified by:
build
in classio.deephaven.shadow.core.io.grpc.stub.AbstractStub<AuthApiGrpc.AuthApiFutureStub>
-
ping
public io.deephaven.shadow.core.com.google.common.util.concurrent.ListenableFuture<PingResponse> ping(PingRequest request) Simple ping method that allows a client to sample the latency to the server.
-
authenticateByPassword
public io.deephaven.shadow.core.com.google.common.util.concurrent.ListenableFuture<AuthenticateByPasswordResponse> authenticateByPassword(AuthenticateByPasswordRequest request) Authenticate by password.
-
authenticateByPublicKey
public io.deephaven.shadow.core.com.google.common.util.concurrent.ListenableFuture<AuthenticateByPublicKeyResponse> authenticateByPublicKey(AuthenticateByPublicKeyRequest request) Authenticate by public key challenge; should have obtained a nonce earlier via getNonce rpc.
-
authenticateByDelegateToken
public io.deephaven.shadow.core.com.google.common.util.concurrent.ListenableFuture<AuthenticateByDelegateTokenResponse> authenticateByDelegateToken(AuthenticateByDelegateTokenRequest request) Authenticate by delegate token; should have obtained a token earlier from another service that created it and forwarded it.
-
authenticateByExternal
public io.deephaven.shadow.core.com.google.common.util.concurrent.ListenableFuture<AuthenticateByExternalResponse> authenticateByExternal(AuthenticateByExternalRequest request) Authenticate by an external method (eg, active directory).
-
authenticateByCookie
public io.deephaven.shadow.core.com.google.common.util.concurrent.ListenableFuture<AuthenticateByCookieResponse> authenticateByCookie(AuthenticateByCookieRequest request) Authenticate by providing an already existing cookie and the user context that cookie should be associated with.
-
refreshCookie
public io.deephaven.shadow.core.com.google.common.util.concurrent.ListenableFuture<RefreshCookieResponse> refreshCookie(RefreshCookieRequest request) Refresh a cookie to maintain credentials. Clients are expected to try to refresh cookies with enough time in advance before expiration; a reasonable default is half way through from the time the cookie was obtained with its deadline, and the actual deadline time.
-
invalidateCookie
public io.deephaven.shadow.core.com.google.common.util.concurrent.ListenableFuture<InvalidateCookieResponse> invalidateCookie(InvalidateCookieRequest request) Clients that are about to terminate are expected to invalidate their credentials before going away.
-
getNonce
public io.deephaven.shadow.core.com.google.common.util.concurrent.ListenableFuture<GetNonceResponse> getNonce(GetNonceRequest request) Get a nonce for public key authentication.
-
getToken
public io.deephaven.shadow.core.com.google.common.util.concurrent.ListenableFuture<GetTokenResponse> getToken(GetTokenRequest request) Get a token for a three-way handshake.
-
getTokenAs
public io.deephaven.shadow.core.com.google.common.util.concurrent.ListenableFuture<GetTokenAsResponse> getTokenAs(GetTokenAsRequest request) Get a token for a three-way handshake as a particular user.
-
verifyToken
public io.deephaven.shadow.core.com.google.common.util.concurrent.ListenableFuture<VerifyTokenResponse> verifyToken(VerifyTokenRequest request) Verify a token provided by another service.
-
reload
public io.deephaven.shadow.core.com.google.common.util.concurrent.ListenableFuture<ReloadResponse> reload(ReloadRequest request) Request this server to reload its configuration.
-
verifyChallenge
public io.deephaven.shadow.core.com.google.common.util.concurrent.ListenableFuture<VerifyChallengeResponse> verifyChallenge(VerifyChallengeRequest request) Verify a nonce challenge response for another server (not used directly by clients, only server-server)
-