Procedure ("Callback") called by
AppleSignIn when the Apple authentication result is obtained. This procedure can be a local, global, internal or lambda procedure.
INTERNAL PROCÉDURE auth(c is AppleID)
IF c.Valid = False THEN
IF ErrorInfo(errCode) = 600062 THEN
STC_Auth = "Authentication canceled by the user."
ELSE
STC_Auth = "Authentication error" + CR + ErrorInfo()
END
ELSE
STC_Auth = "Hello " + c.User + CR
STC_Auth += c.LastName + " " + c.FirstName + CR
STC_Auth += c.Email + CR
STC_Auth += c.Source + CR
END
END
AppleSignIn(auth)
Syntax
AppleSignIn_Callback(<Authentication>)
<Authentication>: AppleID variable
AppleID variable that corresponds to the identifier resulting from a successful Apple ID authentication.