public PrivateCommunityClient(HeldinConfig config) : base(config) { CommunityMapper = new CommunityPersonMapper(); ChangesMapper = new PrivateChangesMapper(); CheckCanUseCommunityMethods(); }
public BaseClient(HeldinConfig config) { this.config = config; serviceHeaders = InitServiceHeaders(); clientHeader = InitClientHeader(); protocolVersionHeader = PROTOCOL_VERSION; userIdHeader = config.UserId; issueHeader = null; webService = FolkClient.WebService(config.Host, config.Secure); var myPrivileges = GetMyPrivileges(); canUseCommunityMethods = myPrivileges.Contains(CAN_USE_COMMUNITY_METHODS); CheckPrivileges(myPrivileges); }
public HeldinConfig NoSubSystemCode() { return(HeldinConfig.Create(host, secure, xRoadInstancePrefix + envSuffix + '/' + memberClass + '/' + memberCodeValue)); }
public PublicCommunityClient(HeldinConfig config) : base(config) { ChangesMapper = new PublicChangesMapper(); CheckCanGetPublicChanges(); }
public static PublicCommunityClient PublicCommunity(HeldinConfig config) { return(new PublicCommunityClient(config)); }
public static PrivateCommunityClient PrivateCommunity(HeldinConfig config) { return(new PrivateCommunityClient(config)); }
public static PersonMediumClient PersonMedium(HeldinConfig config) { return(new PersonMediumClient(config)); }
public static PersonSmallClient PersonSmall(HeldinConfig config) { return(new PersonSmallClient(config)); }
protected PrivilegesSmallClient(HeldinConfig config) : base(config) { }
public PersonSmallClient(HeldinConfig config) : base(config) { PersonMapper = new PersonSmallMapper(); }
protected PrivilegesMediumClient(HeldinConfig config) : base(config) { }
public PersonMediumClient(HeldinConfig config) : base(config) { PersonMapper = new PersonMediumMapper(); }