API Reference > imodeljs-backend > Utils > AuthorizedBackendRequestContext AuthorizedBackendRequestContext Class Provides some generic context for downstream server applications to get details of a request that originated at the backend. The context is meant for use in applications that require authorization. see BackendRequestContext Extends AuthorizedClientRequestContext Methods Name Description constructor(accessToken: AccessToken, activityId: string = ...): AuthorizedBackendRequestContext Create a new context for agent applications or long running backend operations to pass to various services create(activityId: string = ...): Promise<AuthorizedBackendRequestContext> Static Create a new context for agent applications or long running backend operations to pass to various services that require Inherited methods Name Inherited from Description enter(): AuthorizedBackendRequestContext AuthorizedClientRequestContext Set or reset the current ClientRequestContext to be this object. Inherited properties Name Type Inherited from Description _current ProtectedStatic ClientRequestContext AuthorizedClientRequestContext accessToken AccessToken AuthorizedClientRequestContext The access token value of the client application. activityId Readonly string AuthorizedClientRequestContext Used for logging to correlate all service requests that originated from this client request applicationId Readonly string AuthorizedClientRequestContext Used for logging and usage tracking to identify the application that created this client request applicationVersion Readonly string AuthorizedClientRequestContext Used for logging and usage tracking to identify the application version that created this client request current Accessor StaticReadOnly ClientRequestContext AuthorizedClientRequestContext Get the current client request context sessionId Readonly string AuthorizedClientRequestContext Used for logging to identify the session that created this client request useContextForRpc Accessor boolean AuthorizedClientRequestContext Defined in core/backend/src/BackendRequestContext.ts Line 19 Last Updated: 12 June, 2024