org.botlibre.sdk
Class Credentials

java.lang.Object
  extended by org.botlibre.sdk.Credentials
Direct Known Subclasses:
BOTlibreCredentials, FORUMSlibreCredentials, LIVECHATlibreCredentials, PaphusCredentials

public class Credentials
extends java.lang.Object

Credential used to establish a connection. Requires the url, and an application id. You can obtain your application id from your user details page on the hosting website.


Field Summary
 java.lang.String app
           
 java.lang.String applicationId
          Your application's unique identifier.
 java.lang.String host
           
 java.lang.String url
           
 
Constructor Summary
Credentials()
           
Credentials(java.lang.String url, java.lang.String applicationId)
          Creates a new credentials for the service host url, and the application id.
 
Method Summary
 java.lang.String getApp()
           
 java.lang.String getApplicationId()
          Returns your application's unique identifier.
 java.lang.String getHost()
           
 java.lang.String getUrl()
           
 void setApp(java.lang.String app)
          Sets an app url postfix, this is normally not required, i.e.
 void setApplicationId(java.lang.String applicationId)
          Sets your application's unique identifier.
 void setHost(java.lang.String host)
          Sets the server host name, i.e.
 void setUrl(java.lang.String url)
          Sets the hosted service server url, i.e.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

host

public java.lang.String host

app

public java.lang.String app

url

public java.lang.String url

applicationId

public java.lang.String applicationId
Your application's unique identifier. You can obtain your application id from your user details page on the hosting website.

Constructor Detail

Credentials

public Credentials()

Credentials

public Credentials(java.lang.String url,
                   java.lang.String applicationId)
Creates a new credentials for the service host url, and the application id.

Method Detail

getUrl

public java.lang.String getUrl()

setUrl

public void setUrl(java.lang.String url)
Sets the hosted service server url, i.e. http://www.paphuslivechat.com


getHost

public java.lang.String getHost()

setHost

public void setHost(java.lang.String host)
Sets the server host name, i.e. www.paphuslivechat.com


getApp

public java.lang.String getApp()

setApp

public void setApp(java.lang.String app)
Sets an app url postfix, this is normally not required, i.e. "".


getApplicationId

public java.lang.String getApplicationId()
Returns your application's unique identifier.


setApplicationId

public void setApplicationId(java.lang.String applicationId)
Sets your application's unique identifier. You can obtain your application id from your user details page on the hosting website.