API Reference > imodeljs-backend > Utils > AuthorizedBackendRequestContext > constructor constructor Method Create a new context for agent applications or long running backend operations to pass to various services AuthorizedBackendRequestContext(accessToken: AccessToken, activityId: string = Guid.createValue()): AuthorizedBackendRequestContext see AuthorizedBackendRequestContext.create to create the request based on the authorization information supplied to IModelHost. Parameter Type Description accessToken AccessToken activityId string Returns - AuthorizedBackendRequestContext Defined in core/backend/src/BackendRequestContext.ts Line 19 Last Updated: 13 June, 2024