initializeWithAppID:domain:secConfiguration: method
Gets the instance/object of the client connection class.
Syntax
+
(
SMPClientConnection *
)
initializeWithAppID
:
(
NSString *
)
applicationID
domain
:
(
NSString *
)
domain
secConfiguration
:
(
NSString *
)
secConfig
Parameters
-
applicationID –
Application Id of the application trying to establish the connection
-
domain –
server domain
-
securityConfig –
The name of the security configuration authenticating the user against a certain authentication provider
Returns
Returns the instance of the class SMPClientConnection
Example 1
SMPClientConnection* clientConn = [SMPClientConnection initializeWithAppID:"application ID" domain:@"domain" secConfiguration:@"secconfig"];