Stephan Diederich
63935fb9c8
move internally (SDK) used properties to private header
2013-09-11 15:12:26 +02:00
Stephan Diederich
378c4e91f5
fix tests for validation / authviewcontroller
...
bringing up authViewController again is handled by the default
completion block. So we need to pass it along
2013-09-11 14:55:23 +02:00
Stephan Diederich
ea5452603b
store the type of the token with the token itself
...
updater needs it as well and we actually don't want to send
the wrong type to the server
2013-09-11 14:52:33 +02:00
Andreas Linde
d93da3ee32
More authenticator integration
...
- Only start the updateManager if the installation is authenticated (not yet tested)
- Provide the installation data to the updateManager requests
- Some more documentation
- Authenticator defaults to BITAuthenticatorAuthTypeUDIDProvider and BITAuthenticatorValidationTypeNever
- Reset usage time if installation identification changes (not yet tested)
2013-09-11 14:05:09 +02:00
Andreas Linde
d9bcfbb88d
Update license headers in new files
2013-09-11 12:57:27 +02:00
Stephan Diederich
34bf1bf611
add flag to tell if app is currently validated
2013-09-10 23:41:48 +02:00
Stephan Diederich
3144247dc9
in "optional"-mode, show authentication exactly once
2013-09-10 23:41:48 +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
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
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
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
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