File

src/utils/logger/session-logger-context.ts

Description

Context for session logging, including session ID, tenant ID, flow type, and optional stage.

Index

Properties

Indexable

[key: string]: any

Additional context information for the session.

Properties

flowType
flowType: "OID4VCI" | "OID4VP"
Type : "OID4VCI" | "OID4VP"

Type of flow being logged (e.g., OID4VCI, OID4VP).

sessionId
sessionId: string
Type : string

Unique identifier for the session.

stage
stage: string
Type : string
Optional

Optional stage of the flow, useful for tracking progress.

tenantId
tenantId: string
Type : string

Identifier for the tenant associated with the session.

export interface SessionLogContext {
    /**
     * Unique identifier for the session.
     */
    sessionId: string;
    /**
     * Identifier for the tenant associated with the session.
     */
    tenantId: string;
    /**
     * Type of flow being logged (e.g., OID4VCI, OID4VP).
     */
    flowType: 'OID4VCI' | 'OID4VP';
    /**
     * Optional stage of the flow, useful for tracking progress.
     */
    stage?: string;
    /**
     * Additional context information for the session.
     */
    [key: string]: any;
}

results matching ""

    No results matching ""