private static DataClientInfo OpenBySecretInternal(IHpcContext hpcContext, string dataClientId, int jobId, string jobSecret) { return(new DataServiceRestClient(hpcContext).OpenDataClientBySecret(dataClientId, jobId, jobSecret).GetAwaiter().GetResult()); }
public Task ConnectServiceAsClientAsync(IHpcContext hpcContext, ServiceAsClientIdentityProvider identityProvider, string userName, string password, ConnectMethod method) { lock (SyncRoot) { return(Instance.ConnectServiceAsClientAsync(hpcContext, identityProvider, userName, password, method)); } }
public DataServiceRestClient(IHpcContext context) : base(context) { }