voltmx.signInWithApple Namespace
The SignInWithApple API contains the voltmx.signInWithApple Namespace and the following API elements:
Functions
The voltmx.signInWithApple namespace provides the following function:
voltmx.signInWithApple.evaluateCredentialStateforUserID
The evaluateCredentialStateforUserID method is used to get the current state of an opaque user ID that was specified previously.
Syntax
Input Parameters
Parameter | Description |
userID | An opaque user identifier that identifies the state of the SignInWithApple widget. |
callback | A callback function that returns one of the following 3 possible states: voltmx.signInWithApple.CREDENTIAL_STATE_REVOKED voltmx.signInWithApple.CREDENTIAL_STATE_AUTHORIZED voltmx.signInWithApple.CREDENTIAL_STATE_NOT_FOUND |
Example
Return Value
String - Reference (CREDENTIAL_STATE_REVOKED)
Platform Availability
iOS 13 or later