public class LoginService extends Object
| Constructor and Description |
|---|
LoginService(RtmpClient client) |
| Modifier and Type | Method and Description |
|---|---|
String |
getStoreUrl()
Retrieves the store url with auth token for the current user
|
Session |
login(AuthenticationCredentials credentials)
Login to the rtmp server
|
String |
performLcdsHeartBeat(long accountId,
String sessionToken,
int heartBeatCount)
Perform a heartbeat
|
String |
performLcdsHeartBeat(long accountId,
String sessionToken,
int heartBeatCount,
Date date)
Perform a heartbeat
|
public LoginService(RtmpClient client)
public Session login(AuthenticationCredentials credentials)
credentials - The user's credentialspublic String performLcdsHeartBeat(long accountId, String sessionToken, int heartBeatCount)
accountId - The user idsessionToken - The token for the current sessionheartBeatCount - The amount of heartbeats that have been sentpublic String performLcdsHeartBeat(long accountId, String sessionToken, int heartBeatCount, Date date)
accountId - The user idsessionToken - The token for the current sessionheartBeatCount - The amount of heartbeats that have been sentdate - The time of the heart beatpublic String getStoreUrl()
Copyright © 2014. All rights reserved.