How it works

The procedure for getting authorization tokens using the iOS SDK is shown in the figure below.

A feature of the SDK for iOS is the ability to save tokens to the device storage. When called, the SDK checks for saved tokens and sends an authorization request only if there are no tokens.