Package io.deephaven.proto.auth.grpc
Class AuthApiGrpc.AuthApiBlockingStub
java.lang.Object
io.deephaven.shadow.core.io.grpc.stub.AbstractStub<S>
io.deephaven.shadow.core.io.grpc.stub.AbstractBlockingStub<AuthApiGrpc.AuthApiBlockingStub>
io.deephaven.proto.auth.grpc.AuthApiGrpc.AuthApiBlockingStub
- Enclosing class:
- AuthApiGrpc
public static final class AuthApiGrpc.AuthApiBlockingStub
extends io.deephaven.shadow.core.io.grpc.stub.AbstractBlockingStub<AuthApiGrpc.AuthApiBlockingStub>
-
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 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.AuthApiBlockingStub
build
(io.deephaven.shadow.core.io.grpc.Channel channel, io.deephaven.shadow.core.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.deephaven.shadow.core.io.grpc.stub.AbstractBlockingStub
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.AuthApiBlockingStub 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.AuthApiBlockingStub>
-
ping
Simple ping method that allows a client to sample the latency to the server.
-
authenticateByPassword
Authenticate by password.
-
authenticateByPublicKey
public AuthenticateByPublicKeyResponse authenticateByPublicKey(AuthenticateByPublicKeyRequest request) Authenticate by public key challenge; should have obtained a nonce earlier via getNonce rpc.
-
authenticateByDelegateToken
public AuthenticateByDelegateTokenResponse authenticateByDelegateToken(AuthenticateByDelegateTokenRequest request) Authenticate by delegate token; should have obtained a token earlier from another service that created it and forwarded it.
-
authenticateByExternal
Authenticate by an external method (eg, active directory).
-
authenticateByCookie
Authenticate by providing an already existing cookie and the user context that cookie should be associated with.
-
refreshCookie
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
Clients that are about to terminate are expected to invalidate their credentials before going away.
-
getNonce
Get a nonce for public key authentication.
-
getToken
Get a token for a three-way handshake.
-
getTokenAs
Get a token for a three-way handshake as a particular user.
-
verifyToken
Verify a token provided by another service.
-
reload
Request this server to reload its configuration.
-
verifyChallenge
Verify a nonce challenge response for another server (not used directly by clients, only server-server)
-