public class CallStatsAuthenticator extends Object
| Constructor and Description |
|---|
CallStatsAuthenticator(int appId,
String appSecret,
String bridgeId,
CallStatsHttpClient httpClient,
CallStatsInitListener listener)
Instantiates a new call stats authenticator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doAuthentication()
Do authentication.
|
String |
getExpires()
Gets the expires.
|
String |
getToken()
Gets the token.
|
void |
setExpires(String expires)
Sets the expires.
|
void |
setToken(String token)
Sets the token.
|
public CallStatsAuthenticator(int appId,
String appSecret,
String bridgeId,
CallStatsHttpClient httpClient,
CallStatsInitListener listener)
appId - the app idappSecret - the app secretbridgeId - the bridge idhttpClient - the http clientlistener - the listenerpublic String getToken()
public void setToken(String token)
token - the new tokenpublic String getExpires()
public void setExpires(String expires)
expires - the new expirespublic void doAuthentication()
Copyright © 2016. All rights reserved.