Package com.streambase.liveview.client
Interface LiveViewAuth
-
- All Known Subinterfaces:
LiveViewAuth.AppliableLiveViewAuth
- All Known Implementing Classes:
LiveViewAuth.LiveViewBasicAuth
,LiveViewAuth.LiveViewBasicAuthImpl
,LiveViewAuth.LiveViewBearerAuth
,LiveViewAuth.LiveViewBearerAuthImpl
public interface LiveViewAuth
Auth methods for LiveViewConnections. Not user-extendable Use static methods to create instances
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
LiveViewAuth.AppliableLiveViewAuth
Private interface.static class
LiveViewAuth.LiveViewBasicAuth
Base class for basic authentication.static class
LiveViewAuth.LiveViewBasicAuthImpl
Private APIstatic class
LiveViewAuth.LiveViewBearerAuth
Base class for bearer token authentication.static class
LiveViewAuth.LiveViewBearerAuthImpl
Private API
-
Method Summary
Static Methods Modifier and Type Method Description static LiveViewAuth.LiveViewBasicAuth
basicAuth(String username, String password)
Creates a new basic authentication objectstatic LiveViewAuth.LiveViewBearerAuth
bearerAuth(String token)
Creates a new bearer auth object
-
-
-
Method Detail
-
basicAuth
static LiveViewAuth.LiveViewBasicAuth basicAuth(String username, String password)
Creates a new basic authentication object
-
bearerAuth
static LiveViewAuth.LiveViewBearerAuth bearerAuth(String token)
Creates a new bearer auth object- Parameters:
token
- token to use
-
-