mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-02 00:17:02 +00:00
update documentation on Authenticator
This commit is contained in:
parent
b25796742e
commit
6a0cfdd4dc
@ -32,6 +32,24 @@ typedef void(^tValidationCompletion)(BOOL validated, NSError *error);
|
|||||||
/**
|
/**
|
||||||
* Authenticator module used to identify and optionally authenticate the current
|
* Authenticator module used to identify and optionally authenticate the current
|
||||||
* app installation
|
* app installation
|
||||||
|
*
|
||||||
|
* Authentication is actually a 2 step process:
|
||||||
|
* 1) authenticate
|
||||||
|
* some kind of token is aquired depending on the authenticationType
|
||||||
|
* 2) verification
|
||||||
|
* the aquired token from step 1 is verified dependong the validationType
|
||||||
|
*
|
||||||
|
* There are currently 3 ways of authentication:
|
||||||
|
* 1) authenticate the user via email only
|
||||||
|
* 2) authenticate the user via email & passwort (needs to have a HockeyApp Account)
|
||||||
|
* 3) authenticate the device via its UDID
|
||||||
|
*
|
||||||
|
* Additionally, verification can be required:
|
||||||
|
* 1) never
|
||||||
|
* 2) optional
|
||||||
|
* 3) on first launch of every app version, never again until the next version is installed
|
||||||
|
* 4) every time the app becomes active (needs data connection)
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
@interface BITAuthenticator : BITHockeyBaseManager
|
@interface BITAuthenticator : BITHockeyBaseManager
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user