Package io.deephaven.proto.auth.grpc
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionAuthenticate by providing an already existing cookie and the user context that cookie should be associated with.Authenticate by delegate token; should have obtained a token earlier from another service that created it and forwarded it.Authenticate by an external method (eg, active directory).Authenticate by password.Authenticate by public key challenge; should have obtained a nonce earlier via getNonce rpc.protected AuthApiGrpc.AuthApiBlockingV2Stubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) getNonce(GetNonceRequest request) Get a nonce for public key authentication.getToken(GetTokenRequest request) Get a token for a three-way handshake.getTokenAs(GetTokenAsRequest request) Get a token for a three-way handshake as a particular user.invalidateCookie(InvalidateCookieRequest request) Clients that are about to terminate are expected to invalidate their credentials before going away.ping(PingRequest request) Simple ping method that allows a client to sample the latency to the server.refreshCookie(RefreshCookieRequest request) Refresh a cookie to maintain credentials.reload(ReloadRequest request) Request this server to reload its configuration.verifyChallenge(VerifyChallengeRequest request) Verify a nonce challenge response for another server (not used directly by clients, only server-server)verifyToken(VerifyTokenRequest request) Verify a token provided by another service.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected AuthApiGrpc.AuthApiBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<AuthApiGrpc.AuthApiBlockingV2Stub>
-
ping
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
Get a nonce for public key authentication.
- Throws:
io.grpc.StatusException
-
getToken
Get a token for a three-way handshake.
- Throws:
io.grpc.StatusException
-
getTokenAs
Get a token for a three-way handshake as a particular user.
- Throws:
io.grpc.StatusException
-
verifyToken
Verify a token provided by another service.
- Throws:
io.grpc.StatusException
-
reload
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
-