16 Commits

Author SHA1 Message Date
Stephan Diederich
c72fa30108 allow customization of UDID provider webpageURL
and don't mix up SDK and webpage endpoints, but use
the right one for each job
2013-09-07 22:20:34 +02:00
Stephan Diederich
1504b2d9d9 rename auth type to UDIDProvider
naming can be hard - thanks @therealkerni
2013-09-07 22:19:38 +02:00
Stephan Diederich
2d97ac7cf7 reset auth-token if identifierForVendor changed 2013-09-07 19:01:17 +02:00
Stephan Diederich
41d7a0da6a add udid auth via safari roundtrip 2013-09-07 18:10:57 +02:00
Stephan Diederich
567b0def60 refactoring: move auth-logic to the authenticator
via a delegation-completionBlock-combo
2013-09-06 19:23:58 +02:00
Stephan Diederich
79df67ec4a disable authenticator when running the appStore version 2013-09-06 18:03:04 +02:00
Stephan Diederich
e784213184 cleanup Authenticator interface
* remove additional delegate methods
* remove validation/authentication calls from public interface
2013-09-06 18:01:29 +02:00
Stephan Diederich
6f64b8e5d6 make installationIdentification KVO'able 2013-09-06 17:24:01 +02:00
Stephan Diederich
96304ac639 factor out BITHockeyAppClient to provide network services
* factor out HockeyAppClient
* configure Authenticator with HockeyAppClient
* move appendPostValue to HockeyAppClient (& add the missing boundary parameter)
* move tests over to new file
2013-09-06 17:11:55 +02:00
Stephan Diederich
4f6f871bf3 add authenticator to the HockeyManager
& make protocol methods optional
2013-08-15 22:38:24 +02:00
Stephan Diederich
ff555cb87d refine validation logic 2013-08-15 22:30:39 +02:00
Stephan Diederich
4647907ea0 allow to create URL-requests with parameters 2013-08-15 22:29:38 +02:00
Stephan Diederich
d7f45267dd add some code to BITAuthenticatorViewController
and let it perform authentication. Still some TODOs to do.
2013-08-11 22:42:31 +02:00
Stephan Diederich
2a3a8d62cb add validation logic 2013-08-11 22:42:31 +02:00
Stephan Diederich
039902da02 add networking helpers to BITAuthenticator
* NSOperation-based networking
* helpers for URLRequest, operation, getPath:error:
2013-08-11 22:42:31 +02:00
Stephan Diederich
017b8495a8 add BITAuthenticator
class to control authentication and validation of an installation.

TODO:
* AuthenticatorViewController
* validation
* hooking into BITHockeyManager
2013-08-09 12:23:37 +02:00