public HealthVaultApp(HealthVaultAppSettings appSettings) { m_lock = new object(); m_appSettings = appSettings; m_serviceInfo = new ServiceInfoProxy() { ShellUrl = appSettings.ShellUrl, ServiceUrl = appSettings.ServiceUrl }; m_startupStatus = AppStartupStatus.Cancelled; m_appInfo = new AppInfoProxy(appSettings.MasterAppId, appSettings.IsMultiInstanceAware); m_client = new CHBaseClient( m_appInfo, m_serviceInfo, appSettings.IsFirstParty, appSettings.WebAuthorizer != null ? (IWebAuthorizer)appSettings.WebAuthorizer : null); if (appSettings.IsFirstParty) { m_liveIdHostName = appSettings.LiveIdHostName; m_client.LiveIdHostName = appSettings.LiveIdHostName; } m_localVault = new LocalVault(this, appSettings.Folder, appSettings.Folder); m_vocabs = new Vocabs(this); UIThreadDispatcher.Current.Init(); }
public IsValidHealthVaultAccount( CHBaseClient client, string msaTicket, Type responseType) : this(client, new MSATicket(msaTicket), responseType) { }
public QueryPermissions( CHBaseClient client, RecordReference record, RequestBody body, Type responseType) : base(client) { if (record == null) { throw new ArgumentNullException("record"); } if (body == null) { throw new ArgumentNullException("body"); } if (responseType == null) { throw new ArgumentNullException("responseType"); } m_record = record; m_requestBody = body; m_responseType = responseType; }
public RemoveApplicationRecordAuthorization(CHBaseClient client, RecordReference record) : base(client) { if (record == null) { throw new ArgumentNullException("record"); } m_record = record; }
public BeginPutBlob(CHBaseClient client, RecordReference record) : base(client) { if (record == null) { throw new ArgumentNullException("record"); } m_record = record; }
public HealthVaultMethod(CHBaseClient client) { if (client == null) { throw new ArgumentNullException("client"); } m_client = client; }
public QueryPermissions( CHBaseClient client, string personID, string recordID, RequestBody body, Type responseType) : this(client, new RecordReference(personID, recordID), body, responseType) { }
public CreateCredentialTokenWithTicket(CHBaseClient client, MSATicket msaTicket) : base(client) { if (msaTicket == null) { throw new ArgumentNullException("msaTicket"); } m_msaTicket = msaTicket; }
public GetServiceDefinition(CHBaseClient client, DateTime lastUpdated, ServiceDefinitionResponseSections[] responseSections) : base(client) { if (responseSections == null) { throw new ArgumentNullException("responseSections"); } m_data = new object[] { new LastUpdatedDate(lastUpdated), new ResponseConfig(responseSections) }; }
public Shell(CHBaseClient client) { if (client == null) { throw new ArgumentNullException("client"); } TargetPage = "redirect.aspx"; AuthCompletePage = "createapplicationcomplete.aspx"; m_client = client; }
public SearchVocabulary(CHBaseClient client, RequestBody body, Type responseType) : base(client) { if (body == null) { throw new ArgumentNullException("body"); } if (responseType == null) { throw new ArgumentNullException("responseType"); } m_body = body; m_responseType = responseType; }
public RemoveThings(CHBaseClient client, RecordReference record, RequestBody body) : base(client) { if (record == null) { throw new ArgumentNullException("record"); } if (body == null) { throw new ArgumentNullException("body"); } m_record = record; m_body = body; }
public SelectInstance(CHBaseClient client, RequestBody requestBody, Type responseType) : base(client) { if (requestBody == null) { throw new ArgumentNullException("requestBody"); } if (responseType == null) { throw new ArgumentNullException("responseType"); } m_requestBody = requestBody; m_responseType = responseType; }
public CreateAccountWithTicket(CHBaseClient client, string msaTicket, object createAccountPersonInfo) : base(client) { if (String.IsNullOrEmpty(msaTicket)) { throw new ArgumentNullException("msaTicket"); } if (createAccountPersonInfo == null) { throw new ArgumentNullException("createAccountPersonInfo"); } m_msaTicket = new MSATicket(msaTicket); m_createAccountPersonInfo = createAccountPersonInfo; }
// We can't pass in a HealthVaultClient directly because it's not a WinRT class. :( public ServiceMethodProvider(HealthVaultAppSettings appSettings) { ServiceInfo serviceInfo = (ServiceInfo)ServiceFactory.CreateServiceInfo( "https://chbaseplatform-ppev2.dev.grcdemo.com/platform/wildcat.ashx", "https://chbase-ppev2.dev.grcdemo.com"); AppInfo appInfo = new AppInfo(); appInfo.MasterAppId = Guid.Parse(appSettings.MasterAppId); appInfo.IsMultiInstanceAware = true; CHBaseClient client = new CHBaseClient( appInfo, serviceInfo, appSettings.IsFirstParty, appSettings.WebAuthorizer != null ? (IWebAuthorizer)appSettings.WebAuthorizer : null); m_serviceMethods = client.ServiceMethods; }
public IsValidHealthVaultAccount( CHBaseClient client, MSATicket msaTicket, Type responseType) : base(client) { if (msaTicket == null) { throw new ArgumentNullException("msaTicket"); } if (responseType == null) { throw new ArgumentNullException("responseType"); } m_msaTicket = msaTicket; m_responseType = responseType; }
public GetPersonInfo(CHBaseClient client) : base(client) { }
public RemoveThings(CHBaseClient client, string personID, string recordID, RequestBody body) : this(client, new RecordReference(personID, recordID), body) { }
public GetAuthorizedPeople(CHBaseClient client) : base(client) { }
public CreateAuthTokensWithTicket( CHBaseClient client, string msaTicket) : this(client, new MSATicket(msaTicket)) { }
public GetServiceDefinition(CHBaseClient client, DateTime lastUpdated) : base(client) { m_data = new object[] { new LastUpdatedDate(lastUpdated) }; }
public GetServiceDefinition(CHBaseClient client) : base(client) { m_data = null; }
internal void SetClient(CHBaseClient client) { if (m_records == null) { return; } foreach (RecordImpl record in m_records) { record.Client = client; } }
public RemoveApplicationRecordAuthorization(CHBaseClient client, string personID, string recordID) : this(client, new RecordReference(personID, recordID)) { }
public CreateAuthenticatedSessionToken(CHBaseClient client) : base(client) { }
public CreateCredentialTokenWithTicket(CHBaseClient client, string msaTicket) : this(client, new MSATicket(msaTicket)) { }
public BeginPutBlob(CHBaseClient client, string personID, string recordID) : this(client, new RecordReference(personID, recordID)) { }