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 Type
    Method
    Description
    com.google.common.util.concurrent.ListenableFuture<Session>
    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.
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    com.google.common.util.concurrent.ListenableFuture<Empty>
    Delete the caller's identity and associated data.
    com.google.common.util.concurrent.ListenableFuture<Empty>
    Publish an event for this session.
    com.google.common.util.concurrent.ListenableFuture<ExperimentList>
    Get or list all available experiments for this identity.
    com.google.common.util.concurrent.ListenableFuture<FlagList>
    List all available flags for this identity.
    com.google.common.util.concurrent.ListenableFuture<LiveEventList>
    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>
    Enrich/replace the current session with new identifier.
    com.google.common.util.concurrent.ListenableFuture<Properties>
    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>
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected SatoriGrpc.SatoriFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.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

      public com.google.common.util.concurrent.ListenableFuture<Empty> deleteIdentity(Empty request)
       Delete the caller's identity and associated data.
       
    • event

      public com.google.common.util.concurrent.ListenableFuture<Empty> event(EventRequest request)
       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

      public com.google.common.util.concurrent.ListenableFuture<Empty> healthcheck(Empty request)
       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

      public com.google.common.util.concurrent.ListenableFuture<Properties> listProperties(Empty request)
       List properties associated with this identity.
       
    • readycheck

      public com.google.common.util.concurrent.ListenableFuture<Empty> readycheck(Empty request)
       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.