Interface: AttributedIdentity
Who a turn is ATTRIBUTED to, independent of which Databricks credential runs
its calls. Supplied by the HTTP middleware from the forwarded user headers so
that in service-principal mode - where every request shares the app SP’s
client - the memory thread, per-user cache namespace, and trace metadata
still key off the real caller. Ignored in an OBO (user) context, whose own
user id / email are authoritative.
Properties
Section titled “Properties”email?
Section titled “email?”
optionalemail?:string
Forwarded x-forwarded-email, used for trace metadata under the service principal.
userId?
Section titled “userId?”
optionaluserId?:string
Forwarded x-forwarded-user id, used when the client is the service principal.