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 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

      public void deleteIdentity(Empty request, io.grpc.stub.StreamObserver<Empty> responseObserver)
       Delete the caller's identity and associated data.
       
    • event

      public void event(EventRequest request, io.grpc.stub.StreamObserver<Empty> responseObserver)
       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

      public void healthcheck(Empty request, io.grpc.stub.StreamObserver<Empty> responseObserver)
       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

      public void listProperties(Empty request, io.grpc.stub.StreamObserver<Properties> responseObserver)
       List properties associated with this identity.
       
    • readycheck

      public void readycheck(Empty request, io.grpc.stub.StreamObserver<Empty> responseObserver)
       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 interface io.grpc.BindableService