Registration in communities

In TLAuthorization you could find "invitedOrganizations" field. This organizations are waiting for your registration data to allow you to join.

Registration example:

    let req = [TLAuthRequests registerUserWithOrganizationId:self.organization.organizationId
                                                   firstName:firstName lastName:lastName];

    let op = [req operationForApi:TPDApi.sharedApi];

    [op startWithTimeout:TPDCheckOnlyNetworkOperationTimeOutInterval successBlock:^(TLAuthorization *auth) {
        //handle success
    } failureBlock:^(NSError *error) {
        //handle error
    }];

You are allowed to communicate inside the community only after registration.

Last updated