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 LiveViewAuthAuth methods for LiveViewConnections. Not user-extendable Use static methods to create instances
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceLiveViewAuth.AppliableLiveViewAuthPrivate interface.static classLiveViewAuth.LiveViewBasicAuthBase class for basic authentication.static classLiveViewAuth.LiveViewBasicAuthImplPrivate APIstatic classLiveViewAuth.LiveViewBearerAuthBase class for bearer token authentication.static classLiveViewAuth.LiveViewBearerAuthImplPrivate API
-
Method Summary
Static Methods Modifier and Type Method Description static LiveViewAuth.LiveViewBasicAuthbasicAuth(String username, String password)Creates a new basic authentication objectstatic LiveViewAuth.LiveViewBearerAuthbearerAuth(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
-
-