handleAttributeUpdate method

Future<void> handleAttributeUpdate(
  1. String userId,
  2. List<String> attributes
)

Handles attribute updates (claims, roles, groups)

Implementation

Future<void> handleAttributeUpdate(
  String userId,
  List<String> attributes,
) async {
  await emitEvent('attributes_updated', {
    'user_id': userId,
    'updated_attributes': attributes,
  });
}