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.
  • 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 class io.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)