AccountInfo Class Reference

DSMAccountInfo object is retuned with the completion completion:^(DSMAccountInfo *accountInfo, NSError *error) for following login methods exposed in DSMManager: More...

Detailed Description

DSMAccountInfo object is retuned with the completion completion:^(DSMAccountInfo *accountInfo, NSError *error) for following login methods exposed in DSMManager:

sensitive login information returned after login is successful.

  • loginWithAccessToken:accountId:userId:userName:email:host:integratorKey:completion:
  • loginWithAPIPassword:accountId:userId:userName:email:host:integratorKey:completion:
  • loginWithUserId:password:integratorKey:host:completion:

When a successful login is done when online, accountInfo can be persisted securly in the client app for future use. For example, Apple's Keychain Services can be used for securely persisting sensitive information. If the network is unavailable, client app may use loginWithAccessToken or loginWithAPIPassword to continue the login process when device is offline. All of the offline functionality will be available when offline login is done. Any of the online functionality would result in errors, and SDK would need login call to be made again to proceed with online functionality.

Note: Don't log and expose any of the sensitive data returned with the DSMAccountInfo object.

See also
DSMManager.h

The documentation for this class was generated from the following file: