Package io.deephaven.proto.auth.grpc
Class AuthApiGrpc.AuthApiStub
java.lang.Object
io.deephaven.shadow.core.io.grpc.stub.AbstractStub<S>
io.deephaven.shadow.core.io.grpc.stub.AbstractAsyncStub<AuthApiGrpc.AuthApiStub>
io.deephaven.proto.auth.grpc.AuthApiGrpc.AuthApiStub
- Enclosing class:
- AuthApiGrpc
public static final class AuthApiGrpc.AuthApiStub
extends io.deephaven.shadow.core.io.grpc.stub.AbstractAsyncStub<AuthApiGrpc.AuthApiStub>
A stub to allow clients to do asynchronous 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 TypeMethodDescriptionvoid
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.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.void
authenticateByExternal
(AuthenticateByExternalRequest request, io.deephaven.shadow.core.io.grpc.stub.StreamObserver<AuthenticateByExternalResponse> responseObserver) Authenticate by an external method (eg, active directory).void
authenticateByPassword
(AuthenticateByPasswordRequest request, io.deephaven.shadow.core.io.grpc.stub.StreamObserver<AuthenticateByPasswordResponse> responseObserver) Authenticate by password.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.protected AuthApiGrpc.AuthApiStub
build
(io.deephaven.shadow.core.io.grpc.Channel channel, io.deephaven.shadow.core.io.grpc.CallOptions callOptions) void
getNonce
(GetNonceRequest request, io.deephaven.shadow.core.io.grpc.stub.StreamObserver<GetNonceResponse> responseObserver) Get a nonce for public key authentication.void
getToken
(GetTokenRequest request, io.deephaven.shadow.core.io.grpc.stub.StreamObserver<GetTokenResponse> responseObserver) Get a token for a three-way handshake.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.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.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.void
refreshCookie
(RefreshCookieRequest request, io.deephaven.shadow.core.io.grpc.stub.StreamObserver<RefreshCookieResponse> responseObserver) Refresh a cookie to maintain credentials.void
reload
(ReloadRequest request, io.deephaven.shadow.core.io.grpc.stub.StreamObserver<ReloadResponse> responseObserver) Request this server to reload its configuration.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)void
verifyToken
(VerifyTokenRequest request, io.deephaven.shadow.core.io.grpc.stub.StreamObserver<VerifyTokenResponse> responseObserver) Verify a token provided by another service.Methods inherited from class io.deephaven.shadow.core.io.grpc.stub.AbstractAsyncStub
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.AuthApiStub 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.AuthApiStub>
-
ping
public 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
public void authenticateByPassword(AuthenticateByPasswordRequest request, io.deephaven.shadow.core.io.grpc.stub.StreamObserver<AuthenticateByPasswordResponse> responseObserver) Authenticate by password.
-
authenticateByPublicKey
public 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
public 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
public void authenticateByExternal(AuthenticateByExternalRequest request, io.deephaven.shadow.core.io.grpc.stub.StreamObserver<AuthenticateByExternalResponse> responseObserver) Authenticate by an external method (eg, active directory).
-
authenticateByCookie
public 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
public 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
public 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
public void getNonce(GetNonceRequest request, io.deephaven.shadow.core.io.grpc.stub.StreamObserver<GetNonceResponse> responseObserver) Get a nonce for public key authentication.
-
getToken
public void getToken(GetTokenRequest request, io.deephaven.shadow.core.io.grpc.stub.StreamObserver<GetTokenResponse> responseObserver) Get a token for a three-way handshake.
-
getTokenAs
public 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
public void verifyToken(VerifyTokenRequest request, io.deephaven.shadow.core.io.grpc.stub.StreamObserver<VerifyTokenResponse> responseObserver) Verify a token provided by another service.
-
reload
public void reload(ReloadRequest request, io.deephaven.shadow.core.io.grpc.stub.StreamObserver<ReloadResponse> responseObserver) Request this server to reload its configuration.
-
verifyChallenge
public 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)
-