Custom fields to attach to the user (RBAC, Oauth, etc…).
Optional
emailEmail of the user.
Unique identifier of the user. Mandatory.
Optional
nameUser-friendly name of the user.
Optional
roleRole the user is making the request under.
Optional
scopeScopes or granted authorizations the user currently possesses. The value could come from the scope associated with an OAuth2 Access Token or an attribute value in a SAML 2 Assertion.
Optional
session_Session ID of the user.
User object that can be passed to
tracer.setUser()
.