Inherits from NSObject
Conforms to AlfrescoSession
Declared in AlfrescoRepositorySession.h

Overview

The AlfrescoRepositorySession manages the session with an Alfresco Repository.

Author: Gavin Cornwell (Alfresco), Tijs Rademakers (Alfresco), Peter Schmidt (Alfresco)

Tasks

creates an authenticated instance of the AlfrescoRepositorySession

Class Methods

connectWithUrl:username:password:completionBlock:

  • the server URL used to establish a session - Required
+ (AlfrescoRequest *)connectWithUrl:(NSURL *)url username:(NSString *)username password:(NSString *)password completionBlock:(AlfrescoSessionCompletionBlock)completionBlock

Parameters

url
  • the server URL used to establish a session - Required
username

The username. - Required

password

The password. - Required

completionBlock

(AlfrescoSessionCompletionBlock). The block that’s called with the session in case the operation succeeds. - required

Return Value

an instance of the repository session

Declared In

AlfrescoRepositorySession.h

connectWithUrl:username:password:parameters:completionBlock:

  • the server URL used to establish a session - Required
+ (AlfrescoRequest *)connectWithUrl:(NSURL *)url username:(NSString *)username password:(NSString *)password parameters:(NSDictionary *)parameters completionBlock:(AlfrescoSessionCompletionBlock)completionBlock

Parameters

url
  • the server URL used to establish a session - Required
username

The username. - Required

password

The password. - Required

parameters

a dictionary containing parameters for the session. - Optional (can be nil)

completionBlock

(AlfrescoSessionCompletionBlock). The block that’s called with the session in case the operation succeeds. - required

Return Value

an instance of the repository session

Declared In

AlfrescoRepositorySession.h