Пример #1
0
 private static DataClientInfo OpenBySecretInternal(IHpcContext hpcContext, string dataClientId, int jobId, string jobSecret)
 {
     return(new DataServiceRestClient(hpcContext).OpenDataClientBySecret(dataClientId, jobId, jobSecret).GetAwaiter().GetResult());
 }
Пример #2
0
 public Task ConnectServiceAsClientAsync(IHpcContext hpcContext, ServiceAsClientIdentityProvider identityProvider, string userName, string password, ConnectMethod method)
 {
     lock (SyncRoot) { return(Instance.ConnectServiceAsClientAsync(hpcContext, identityProvider, userName, password, method)); }
 }
Пример #3
0
 public DataServiceRestClient(IHpcContext context) : base(context)
 {
 }