Package com.heroiclabs.satori.api
Class SatoriGrpc.SatoriFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<SatoriGrpc.SatoriFutureStub>
com.heroiclabs.satori.api.SatoriGrpc.SatoriFutureStub
- Enclosing class:
- SatoriGrpc
public static final class SatoriGrpc.SatoriFutureStub
extends io.grpc.stub.AbstractFutureStub<SatoriGrpc.SatoriFutureStub>
The GRPC protocol service for Satori built with GRPC.
-
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 TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<Session>
authenticate
(AuthenticateRequest request) Authenticate against the server.com.google.common.util.concurrent.ListenableFuture<Empty>
Log out a session, invalidate a refresh token, or log out all sessions/refresh tokens for a user.com.google.common.util.concurrent.ListenableFuture<Session>
Refresh a user's session using a refresh token retrieved from a previous authentication request.protected SatoriGrpc.SatoriFutureStub
build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Empty>
deleteIdentity
(Empty request) Delete the caller's identity and associated data.com.google.common.util.concurrent.ListenableFuture<Empty>
event
(EventRequest request) Publish an event for this session.com.google.common.util.concurrent.ListenableFuture<ExperimentList>
getExperiments
(GetExperimentsRequest request) Get or list all available experiments for this identity.com.google.common.util.concurrent.ListenableFuture<FlagList>
getFlags
(GetFlagsRequest request) List all available flags for this identity.com.google.common.util.concurrent.ListenableFuture<LiveEventList>
getLiveEvents
(GetLiveEventsRequest request) List available live events.com.google.common.util.concurrent.ListenableFuture<Empty>
healthcheck
(Empty request) A healthcheck which load balancers can use to check the service.com.google.common.util.concurrent.ListenableFuture<Session>
identify
(IdentifyRequest request) Enrich/replace the current session with new identifier.com.google.common.util.concurrent.ListenableFuture<Properties>
listProperties
(Empty request) List properties associated with this identity.com.google.common.util.concurrent.ListenableFuture<Empty>
readycheck
(Empty request) A readycheck which load balancers can use to check the service.com.google.common.util.concurrent.ListenableFuture<Empty>
updateProperties
(UpdatePropertiesRequest request) Update identity properties.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected SatoriGrpc.SatoriFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<SatoriGrpc.SatoriFutureStub>
-
authenticate
public com.google.common.util.concurrent.ListenableFuture<Session> authenticate(AuthenticateRequest request) Authenticate against the server.
-
authenticateLogout
public com.google.common.util.concurrent.ListenableFuture<Empty> authenticateLogout(AuthenticateLogoutRequest request) Log out a session, invalidate a refresh token, or log out all sessions/refresh tokens for a user.
-
authenticateRefresh
public com.google.common.util.concurrent.ListenableFuture<Session> authenticateRefresh(AuthenticateRefreshRequest request) Refresh a user's session using a refresh token retrieved from a previous authentication request.
-
deleteIdentity
Delete the caller's identity and associated data.
-
event
Publish an event for this session.
-
getExperiments
public com.google.common.util.concurrent.ListenableFuture<ExperimentList> getExperiments(GetExperimentsRequest request) Get or list all available experiments for this identity.
-
getFlags
public com.google.common.util.concurrent.ListenableFuture<FlagList> getFlags(GetFlagsRequest request) List all available flags for this identity.
-
getLiveEvents
public com.google.common.util.concurrent.ListenableFuture<LiveEventList> getLiveEvents(GetLiveEventsRequest request) List available live events.
-
healthcheck
A healthcheck which load balancers can use to check the service.
-
identify
public com.google.common.util.concurrent.ListenableFuture<Session> identify(IdentifyRequest request) Enrich/replace the current session with new identifier.
-
listProperties
List properties associated with this identity.
-
readycheck
A readycheck which load balancers can use to check the service.
-
updateProperties
public com.google.common.util.concurrent.ListenableFuture<Empty> updateProperties(UpdatePropertiesRequest request) Update identity properties.
-