ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Mobile specific functions / Phone functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
WLanguage procedure called by AppleSignIn
Procedure ("Callback") called by AppleSignIn when the Apple authentication result is obtained. This procedure can be a local, global, internal or lambda procedure.
Example
INTERNAL PROCEDURE 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.
Minimum version required
  • Version 25
Comments
Click [Add] to post a comment

Last update: 11/22/2024

Send a report | Local help