keyWillRotate(for:newKey:loginManager:completion:)
Declaration
optional func keyWillRotate(for keyType: ASAuthorizationProviderExtensionKeyType, newKey: SecKey, loginManager: ASAuthorizationProviderExtensionLoginManager, completion: @escaping @Sendable (Bool) -> Void)optional func keyWillRotate(for keyType: ASAuthorizationProviderExtensionKeyType, newKey: SecKey, loginManager: ASAuthorizationProviderExtensionLoginManager) async -> BoolDiscussion
The specified keyType will rotate to a new key. The rotation is complete when the completion handler is called. This is only called by the system for automatic key rotation.