Interface AuthApiGrpc.AsyncService

All Known Implementing Classes:
AuthApiGrpc.AuthApiImplBase
Enclosing class:
AuthApiGrpc

public static interface AuthApiGrpc.AsyncService
  • Method Details

    • ping

      default void ping(PingRequest request, io.deephaven.shadow.core.io.grpc.stub.StreamObserver<PingResponse> responseObserver)
       Simple ping method that allows a client to sample the latency to the server.
       
    • authenticateByPassword

      default void authenticateByPassword(AuthenticateByPasswordRequest request, io.deephaven.shadow.core.io.grpc.stub.StreamObserver<AuthenticateByPasswordResponse> responseObserver)
       Authenticate by password.
       
    • authenticateByPublicKey

      default void authenticateByPublicKey(AuthenticateByPublicKeyRequest request, io.deephaven.shadow.core.io.grpc.stub.StreamObserver<AuthenticateByPublicKeyResponse> responseObserver)
       Authenticate by public key challenge; should have obtained a nonce earlier via getNonce rpc.
       
    • authenticateByDelegateToken

      default void authenticateByDelegateToken(AuthenticateByDelegateTokenRequest request, io.deephaven.shadow.core.io.grpc.stub.StreamObserver<AuthenticateByDelegateTokenResponse> responseObserver)
       Authenticate by delegate token; should have obtained a token earlier from another service that
       created it and forwarded it.
       
    • authenticateByExternal

      default void authenticateByExternal(AuthenticateByExternalRequest request, io.deephaven.shadow.core.io.grpc.stub.StreamObserver<AuthenticateByExternalResponse> responseObserver)
       Authenticate by an external method (eg, active directory).
       
    • authenticateByCookie

      default void authenticateByCookie(AuthenticateByCookieRequest request, io.deephaven.shadow.core.io.grpc.stub.StreamObserver<AuthenticateByCookieResponse> responseObserver)
       Authenticate by providing an already existing cookie and the user context that cookie should be associated with.
       
    • refreshCookie

      default void refreshCookie(RefreshCookieRequest request, io.deephaven.shadow.core.io.grpc.stub.StreamObserver<RefreshCookieResponse> responseObserver)
       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

      default void invalidateCookie(InvalidateCookieRequest request, io.deephaven.shadow.core.io.grpc.stub.StreamObserver<InvalidateCookieResponse> responseObserver)
       Clients that are about to terminate are expected to invalidate their credentials before going away.
       
    • getNonce

      default void getNonce(GetNonceRequest request, io.deephaven.shadow.core.io.grpc.stub.StreamObserver<GetNonceResponse> responseObserver)
       Get a nonce for public key authentication.
       
    • getToken

      default void getToken(GetTokenRequest request, io.deephaven.shadow.core.io.grpc.stub.StreamObserver<GetTokenResponse> responseObserver)
       Get a token for a three-way handshake.
       
    • getTokenAs

      default void getTokenAs(GetTokenAsRequest request, io.deephaven.shadow.core.io.grpc.stub.StreamObserver<GetTokenAsResponse> responseObserver)
       Get a token for a three-way handshake as a particular user.
       
    • verifyToken

      default void verifyToken(VerifyTokenRequest request, io.deephaven.shadow.core.io.grpc.stub.StreamObserver<VerifyTokenResponse> responseObserver)
       Verify a token provided by another service.
       
    • reload

      default void reload(ReloadRequest request, io.deephaven.shadow.core.io.grpc.stub.StreamObserver<ReloadResponse> responseObserver)
       Request this server to reload its configuration.
       
    • verifyChallenge

      default void verifyChallenge(VerifyChallengeRequest request, io.deephaven.shadow.core.io.grpc.stub.StreamObserver<VerifyChallengeResponse> responseObserver)
       Verify a nonce challenge response for another server (not used directly by clients, only server-server)