Class AuthApiGrpc.AuthApiBlockingV2Stub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<AuthApiGrpc.AuthApiBlockingV2Stub>
io.deephaven.proto.auth.grpc.AuthApiGrpc.AuthApiBlockingV2Stub
Enclosing class:
AuthApiGrpc

public static final class AuthApiGrpc.AuthApiBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<AuthApiGrpc.AuthApiBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service AuthApi.
  • Method Details

    • build

      protected AuthApiGrpc.AuthApiBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<AuthApiGrpc.AuthApiBlockingV2Stub>
    • ping

      public PingResponse ping(PingRequest request) throws io.grpc.StatusException
       Simple ping method that allows a client to sample the latency to the server.
       
      Throws:
      io.grpc.StatusException
    • authenticateByPassword

      public AuthenticateByPasswordResponse authenticateByPassword(AuthenticateByPasswordRequest request) throws io.grpc.StatusException
       Authenticate by password.
       
      Throws:
      io.grpc.StatusException
    • authenticateByPublicKey

      public AuthenticateByPublicKeyResponse authenticateByPublicKey(AuthenticateByPublicKeyRequest request) throws io.grpc.StatusException
       Authenticate by public key challenge; should have obtained a nonce earlier via getNonce rpc.
       
      Throws:
      io.grpc.StatusException
    • authenticateByDelegateToken

      public AuthenticateByDelegateTokenResponse authenticateByDelegateToken(AuthenticateByDelegateTokenRequest request) throws io.grpc.StatusException
       Authenticate by delegate token; should have obtained a token earlier from another service that
       created it and forwarded it.
       
      Throws:
      io.grpc.StatusException
    • authenticateByExternal

      public AuthenticateByExternalResponse authenticateByExternal(AuthenticateByExternalRequest request) throws io.grpc.StatusException
       Authenticate by an external method (eg, active directory).
       
      Throws:
      io.grpc.StatusException
    • authenticateByCookie

      public AuthenticateByCookieResponse authenticateByCookie(AuthenticateByCookieRequest request) throws io.grpc.StatusException
       Authenticate by providing an already existing cookie and the user context that cookie should be associated with.
       
      Throws:
      io.grpc.StatusException
    • refreshCookie

      public RefreshCookieResponse refreshCookie(RefreshCookieRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException
    • invalidateCookie

      public InvalidateCookieResponse invalidateCookie(InvalidateCookieRequest request) throws io.grpc.StatusException
       Clients that are about to terminate are expected to invalidate their credentials before going away.
       
      Throws:
      io.grpc.StatusException
    • getNonce

      public GetNonceResponse getNonce(GetNonceRequest request) throws io.grpc.StatusException
       Get a nonce for public key authentication.
       
      Throws:
      io.grpc.StatusException
    • getToken

      public GetTokenResponse getToken(GetTokenRequest request) throws io.grpc.StatusException
       Get a token for a three-way handshake.
       
      Throws:
      io.grpc.StatusException
    • getTokenAs

      public GetTokenAsResponse getTokenAs(GetTokenAsRequest request) throws io.grpc.StatusException
       Get a token for a three-way handshake as a particular user.
       
      Throws:
      io.grpc.StatusException
    • verifyToken

      public VerifyTokenResponse verifyToken(VerifyTokenRequest request) throws io.grpc.StatusException
       Verify a token provided by another service.
       
      Throws:
      io.grpc.StatusException
    • reload

      public ReloadResponse reload(ReloadRequest request) throws io.grpc.StatusException
       Request this server to reload its configuration.
       
      Throws:
      io.grpc.StatusException
    • verifyChallenge

      public VerifyChallengeResponse verifyChallenge(VerifyChallengeRequest request) throws io.grpc.StatusException
       Verify a nonce challenge response for another server (not used directly by clients, only server-server)
       
      Throws:
      io.grpc.StatusException