Type Function Return value String Revision Release 2024.3703 Keywords iCloud, sync, storage, Key-Value Storage, KVS, identityToken See also iCloud.*
Returns a string which can be used to ensure that the iCloud user has not changed. This string will be a hash of the user’s iCloud session ID which you may store/check locally to ensure that the same user is logged in to iCloud.
Returns nil
if the identity token can not be retrieved.
iCloud.identityToken()