Package com.heroiclabs.satori.api
Class SatoriGrpc.SatoriImplBase
java.lang.Object
com.heroiclabs.satori.api.SatoriGrpc.SatoriImplBase
- All Implemented Interfaces:
io.grpc.BindableService
- Enclosing class:
- SatoriGrpc
public abstract static class SatoriGrpc.SatoriImplBase
extends Object
implements io.grpc.BindableService
The GRPC protocol service for Satori built with GRPC.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
authenticate
(AuthenticateRequest request, io.grpc.stub.StreamObserver<Session> responseObserver) Authenticate against the server.void
authenticateLogout
(AuthenticateLogoutRequest request, io.grpc.stub.StreamObserver<Empty> responseObserver) Log out a session, invalidate a refresh token, or log out all sessions/refresh tokens for a user.void
authenticateRefresh
(AuthenticateRefreshRequest request, io.grpc.stub.StreamObserver<Session> responseObserver) Refresh a user's session using a refresh token retrieved from a previous authentication request.final io.grpc.ServerServiceDefinition
void
deleteIdentity
(Empty request, io.grpc.stub.StreamObserver<Empty> responseObserver) Delete the caller's identity and associated data.void
event
(EventRequest request, io.grpc.stub.StreamObserver<Empty> responseObserver) Publish an event for this session.void
getExperiments
(GetExperimentsRequest request, io.grpc.stub.StreamObserver<ExperimentList> responseObserver) Get or list all available experiments for this identity.void
getFlags
(GetFlagsRequest request, io.grpc.stub.StreamObserver<FlagList> responseObserver) List all available flags for this identity.void
getLiveEvents
(GetLiveEventsRequest request, io.grpc.stub.StreamObserver<LiveEventList> responseObserver) List available live events.void
healthcheck
(Empty request, io.grpc.stub.StreamObserver<Empty> responseObserver) A healthcheck which load balancers can use to check the service.void
identify
(IdentifyRequest request, io.grpc.stub.StreamObserver<Session> responseObserver) Enrich/replace the current session with new identifier.void
listProperties
(Empty request, io.grpc.stub.StreamObserver<Properties> responseObserver) List properties associated with this identity.void
readycheck
(Empty request, io.grpc.stub.StreamObserver<Empty> responseObserver) A readycheck which load balancers can use to check the service.void
updateProperties
(UpdatePropertiesRequest request, io.grpc.stub.StreamObserver<Empty> responseObserver) Update identity properties.
-
Constructor Details
-
SatoriImplBase
public SatoriImplBase()
-
-
Method Details
-
authenticate
public void authenticate(AuthenticateRequest request, io.grpc.stub.StreamObserver<Session> responseObserver) Authenticate against the server.
-
authenticateLogout
public void authenticateLogout(AuthenticateLogoutRequest request, io.grpc.stub.StreamObserver<Empty> responseObserver) Log out a session, invalidate a refresh token, or log out all sessions/refresh tokens for a user.
-
authenticateRefresh
public void authenticateRefresh(AuthenticateRefreshRequest request, io.grpc.stub.StreamObserver<Session> responseObserver) 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 void getExperiments(GetExperimentsRequest request, io.grpc.stub.StreamObserver<ExperimentList> responseObserver) Get or list all available experiments for this identity.
-
getFlags
public void getFlags(GetFlagsRequest request, io.grpc.stub.StreamObserver<FlagList> responseObserver) List all available flags for this identity.
-
getLiveEvents
public void getLiveEvents(GetLiveEventsRequest request, io.grpc.stub.StreamObserver<LiveEventList> responseObserver) List available live events.
-
healthcheck
A healthcheck which load balancers can use to check the service.
-
identify
public void identify(IdentifyRequest request, io.grpc.stub.StreamObserver<Session> responseObserver) 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 void updateProperties(UpdatePropertiesRequest request, io.grpc.stub.StreamObserver<Empty> responseObserver) Update identity properties.
-
bindService
public final io.grpc.ServerServiceDefinition bindService()- Specified by:
bindService
in interfaceio.grpc.BindableService
-