NotificationCenter notifications for sign-in-with-Apple

In the WWDC 2019 talk about sign-in-with-apple (SIWA), there was a mention of using NotificationCenter to monitor credential state:


"Additionally, we expose a notification through NotificationCenter to let you know when this credential state changed to revoked."


However, I cannot find any further mention of this in the SIWA documentation, nor is this feature exercised in the Juice example code. Can someone point me to more information?


Thanks


J

Hi JuJuJulian,


It is exposed on ASAuthorizationAppleIDProvider


Key: ASAuthorizationAppleIDProviderCredentialRevokedNotification


Will take a look at the documentation issue.


Dima

Ehi @dima, this notification is triggered every time "didCompleteWithAuthorization" is called (see https://forums.developer.apple.com/message/386179#386179). Can you provide support? Is it a bug?

NotificationCenter notifications for sign-in-with-Apple
 
 
Q