authUserId property

String? authUserId

The user authenticated ID to attach to telemetry items.

Implementation

String? get authUserId => _contextMap[_authUserIdKey] as String?;
void authUserId=(String? value)

Setting will change the user authenticated ID attached to telemetry items submitted with this context.

This is a convenience for setting the ai.user.authUserId key on TelemetryContext.properties.

Implementation

set authUserId(String? value) =>
    _contextMap.setOrRemove(_authUserIdKey, value);