You are here

connect

public static CloudSession connect(OAuthData oauthData[, ...]) - connects the given user to the SkyVault in the Cloud server in the context of the user's home network.

connect

public static CloudSession connect(OAuthData oauthData) - connects the given user to the SkyVault in the Cloud server in the context of the user's home network.

Parameters

OAuthData oauthData
OAuth authentication data.

Returns

Returns a CloudSession object.

Example

connect

public static CloudSession connect(OAuthData oauthData, Map<String, Serializable> parameters) - connects the given user to the SkyVault in the Cloud server in the context of the specified network.

Parameters

OAuthData oauthData
OAuth authentication data.
Map<String, Serializable> parameters
Session parameters.

Returns

Returns a CloudSession object.

Example


        
        

connect

public static CloudSession connect(OAuthData oauthData, String networkId, Map<String, Serializable> parameters) - connects the given user to the SkyVault in the Cloud server in the context of the specified network.

Parameters

OAuthData oauthData
OAuth authentication data.
String networkId
The network identifier.
Map<String, Serializable> parameters
Session parameters.

Returns

Returns a CloudSession object.

Example


        
        

connect

public static CloudSession connect(OAuthData oauthData, String networkId, Map<String, Serializable> parameters) - connects the given user to the SkyVault in the Cloud server in the context of the specified network.

Parameters

OAuthData oauthData
OAuth authentication data.
String networkId
The network identifier.

Returns

Returns a CloudSession object.

Example