public StatusDtoResource(StratsysAuthentication authentication)
 {
     m_resource = new StratsysResource<StatusDto>("statuses", authentication);
 }
 protected StratsysClientService(StratsysAuthentication authentication)
 {
     Authentication = authentication.AuthenticationHeaderValue;
 }
Example #3
0
 public StratsysApi(StratsysAuthentication authentication)
 {
     m_authentication = authentication;
 }
Example #4
0
 public void SetAuthentication(StratsysAuthentication authentication)
 {
     m_authentication = authentication;
 }
Example #5
0
 public StratsysApi(string clientId, string clientSecret)
     : this(new ServiceAccountBasicAuthentication(clientId, clientSecret))
 {
     m_authentication = new ServiceAccountBasicAuthentication(clientId, clientSecret);
 }