/** @packageDocumentation * @module Telemetry */ import { AuthorizedClientRequestContext } from "@bentley/itwin-client"; import { IntrospectionClient, IntrospectionResponse } from "../oidc"; /** * @alpha * Data obtained via token introspection that is relevant within telemetry events */ export declare class ClientAuthDetail { /** Client ID obtained by introspecting the client's authorization token */ readonly clientAuthClientId?: string; /** User ID obtained by introspecting the client's authorization token */ readonly clientAuthUserId?: string; constructor(response: IntrospectionResponse); /** * Returns all known properties as a new object */ getProperties(): { [key: string]: any; }; } /** * @alpha * Retrieves and maps an [[IntrospectionResponse]] to a telemetry-friendly form of type [[ClientAuthDetail]] using the provided [[Introspection]] */ export declare class ClientAuthIntrospectionManager { readonly introspectionClient: IntrospectionClient; constructor(introspectionClient: IntrospectionClient); getClientAuthDetails(requestContext: AuthorizedClientRequestContext): Promise; } //# sourceMappingURL=ClientAuthIntrospectionManager.d.ts.map