39 Commits

Author SHA1 Message Date
Andreas Linde
223333facf Some more documentation updates 2013-10-30 13:42:04 +01:00
Stephan Diederich
92a0fe92c5 Merge branch 'feature/WebBasedAuthentication' into develop 2013-10-18 18:12:58 +02:00
Stephan Diederich
28b08fa804 add "webAuth" identificationType 2013-10-11 17:18:04 +02:00
Andreas Linde
498bd62cbb Remove automaticMode property since it is not needed any more
The developer needs to call at least `authenticateInstallation` instead.
2013-10-10 12:32:29 +02:00
Andreas Linde
7052f0cd7a Require the user to call authenticateInstallation manually
This solves multiple issues:
- Possible crashes at startup because the app is already in the process of presenting another modal view. This way the developer can make sure that only one modal view is being presented
- If the app is showing e.g. a login view on startup, it is now not needed to turn off automatic mode and setup the complete auth workflow manually and simply invoke `authenticateInstallation` after the login view is either fully presented (`viewDidLoad` finished) or the user did log in
2013-10-10 02:39:44 +02:00
Stephan Diederich
1a28150ec0 [Authenticator] also check the host part of a given URL
This helps especially in case of a custom URL scheme, so that
BITAuthenticator doesn't reset the identification token if a URL
is passed in that wasn't meant to parsed by BITAuthenticator.

fixes #70
2013-10-04 11:53:50 +02:00
Stephan Diederich
4f4ed09cd4 add URL for HockeyApps identification site to public interface 2013-09-24 22:33:22 +02:00
Andreas Linde
d451650e7f Some more documentation build fixes 2013-09-24 21:52:16 +02:00
Thomas Dohmke
cb2782cefb Review documentation. 2013-09-24 21:05:32 +02:00
Andreas Linde
e3fce764e1 Update BITAuthenticator documentation 2013-09-24 20:03:32 +02:00
Stephan Diederich
aff8c0a9a9 allow to specify a custom URL scheme 2013-09-24 17:09:15 +02:00
Stephan Diederich
c2c6558687 redo BITAuthenticator interface
given the good feedback we got, this is take 2
of the BITAuthenticator interface.
It's simplified, cleaned up and now allows full
control over the authentication process.
Major changes:
* manual mode
  Authenticator provides the bits to show the
  viewController to identify the user as well as to
  trigger validation on behalf of the developer.
* process separation
  identification and app-usage-restriction are now
  2 completely separated things.
* public identifier
  Authenticator now allows the developer to query
  parts of the information, e.g. the UDID or the user's
  emailaddy once identified
2013-09-23 23:15:56 +02:00
Stephan Diederich
39334c4d38 fix typo 2013-09-23 16:18:18 +02:00
Andreas Linde
18ab864eef Documentation improvements for BITAuthenticator 2013-09-19 15:42:07 +02:00
Stephan Diederich
b30c0df468 fix typo 2013-09-19 13:34:02 +02:00
Andreas Linde
e3d44f3709 Some more documentation improvements 2013-09-17 20:08:11 +02:00
Andreas Linde
d7b334bc3a More documentation improvements 2013-09-16 14:13:27 +02:00
Andreas Linde
88b50694d7 Documentation improvements 2013-09-16 12:53:40 +02:00
Andreas Linde
69d1ee476f Fix documentation formatting of sample code 2013-09-15 14:01:54 +02:00
Andreas Linde
955fe9c2eb Documentation updates and fixes 2013-09-13 17:29:00 +02:00
Thomas Dohmke
49e99fb884 Fix typo. 2013-09-12 15:05:43 +02:00
Thomas Dohmke
f33c7c5542 Update documentation. 2013-09-12 15:05:05 +02:00
Thomas Dohmke
314ad65152 Update documentation. 2013-09-12 14:55:22 +02:00
Andreas Linde
d7ae69860d Various documentation fixes and updates 2013-09-12 12:21:12 +02:00
Stephan Diederich
63935fb9c8 move internally (SDK) used properties to private header 2013-09-11 15:12:26 +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
Andreas Linde
9456ef97e9 Fix typo 2013-09-10 18:08:34 +02:00
Stephan Diederich
484cca06dc formatting 2013-09-07 22:21:08 +02:00
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
41d7a0da6a add udid auth via safari roundtrip 2013-09-07 18:10:57 +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
6a0cfdd4dc update documentation on Authenticator 2013-09-06 15:19:11 +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
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