API Reference > itwin-client > Authentication > AuthorizedClientRequestContext AuthorizedClientRequestContext Class Provides generic context for a server application to get details of a particular request that originated at the client. This context includes an AccessToken that carries authorization information. For services that do not require authorization it's sufficient to pass an instance of the base class ClientRequestContext. see ClientRequestContext rules. see ClientRequestContext Extends ClientRequestContext Methods Name Description constructor(accessToken: AccessToken, activityId: string = ..., applicationId: string = "", applicationVersion: string = "", sessionId: string = Guid.empty): AuthorizedClientRequestContext Constructor Beta Inherited methods Name Inherited from Description enter(): AuthorizedClientRequestContext ClientRequestContext Set or reset the current ClientRequestContext to be this object. Properties Name Type Description accessToken AccessToken The access token value of the client application. Beta Inherited properties Name Type Inherited from Description _current ProtectedStatic ClientRequestContext ClientRequestContext activityId Readonly string ClientRequestContext Used for logging to correlate all service requests that originated from this client request applicationId Readonly string ClientRequestContext Used for logging and usage tracking to identify the application that created this client request applicationVersion Readonly string ClientRequestContext Used for logging and usage tracking to identify the application version that created this client request current Accessor StaticReadOnly ClientRequestContext ClientRequestContext Get the current client request context sessionId Readonly string ClientRequestContext Used for logging to identify the session that created this client request useContextForRpc Accessor boolean ClientRequestContext Defined in clients/itwin/src/AuthorizedClientRequestContext.ts Line 38 Last Updated: 12 June, 2024