public AndroidAuthManager(IOAuthTokenEndpointConfig c) { config = c; http = new HttpClient() { BaseAddress = new Uri(c.Endpoint), }; http.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Basic", createAuthToken()); }
public AuthenticationManager(IOAuthTokenEndpointConfig c) { config = c; http = new HttpClient() { BaseAddress = new Uri(c.Endpoint), }; http.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Basic", createAuthToken()); //tokenService = RestService.For<IOwinTokenApi> (http); }