constructor Method

Create a new context for agent applications or long running frontend operations to pass to various services

AuthorizedFrontendRequestContext(accessToken: AccessToken, activityId: string = Guid.createValue()): AuthorizedFrontendRequestContext

see AuthorizedFrontendRequestContext.create to create the request based on the authorization information supplied to IModelHost.

Parameter Type Description
accessToken AccessToken  
activityId string  

Returns - AuthorizedFrontendRequestContext

Defined in

Last Updated: 13 June, 2024