public class ConnectionsApi extends BaseApi implements AccountAuthorizable
Constructor and Description |
---|
ConnectionsApi() |
Modifier and Type | Method and Description |
---|---|
void |
create(int loginAppId,
ConnectionAttributes connectionAttributes)
Create a new Connection.
|
void |
delete(java.lang.String connectionId)
Delete a Connection.
|
AccountAuthorization |
getAccountAuthorization() |
void |
keepAlive(java.lang.String connectionId)
Keep the Connection alive.
|
ConnectionsApi |
setAccountAuthorization(AccountAuthorization accountAuthorization) |
collectionUrl, getApi, memberUrl, memberUrl, setApi
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getApi, setApi
public void delete(java.lang.String connectionId) throws java.io.IOException, SocialIdApiException
connectionId
- The id of the Connectionjava.io.IOException
SocialIdApiException
public void create(int loginAppId, ConnectionAttributes connectionAttributes) throws java.io.IOException, SocialIdApiException
loginAppId
- The id of the LoginAppconnectionAttributes
- The connection attributesjava.io.IOException
SocialIdApiException
public void keepAlive(java.lang.String connectionId) throws java.io.IOException, SocialIdApiException
connectionId
- The id of the Connectionjava.io.IOException
SocialIdApiException
public AccountAuthorization getAccountAuthorization()
getAccountAuthorization
in interface AccountAuthorizable
public ConnectionsApi setAccountAuthorization(AccountAuthorization accountAuthorization)