Pawnote
    Preparing search index...

    Interface SessionInformation

    interface SessionInformation {
        accessKind: SessionAccessKind;
        accountKind: AccountKind;
        aesIV: string;
        aesKey: string;
        demo: boolean;
        http: boolean;
        id: number;
        order: number;
        poll: boolean;
        rsaExponent: string;
        rsaFromConstants: boolean;
        rsaModulus: string;
        skipCompression: boolean;
        skipEncryption: boolean;
        url: string;
    }
    Index

    Properties

    accessKind: SessionAccessKind

    How the session is accessed.

    SessionAccessKind.ACCOUNT
    
    accountKind: AccountKind
    aesIV: string
    aesKey: string
    demo: boolean

    Whether the instance is demo or not.

    http: boolean

    Only defined and true when the instance doesn't have an SSL certificate that is linked directly inside the PRONOTE.net server.

    On latest versions of PRONOTE, this adds an encryption layer on the request and responses.

    id: number
    order: number

    Current order of requests in the queue.

    Every request made and response received increment this value by one. That means that an HTTP request should increment this by 2.

    Starts with 0.

    poll: boolean

    Whether polling should be used instead of presence.

    Pawnote doesn't take this into account and only sends presence requests.

    rsaExponent: string
    rsaFromConstants: boolean

    Since PRONOTE 2023, RSA modulus and exponent are hardcoded. Before, we would need to pick them up in the session object.

    Eventually, this update also added a different behavior during login phase when using constants.

    That's why we have this property to know which values are there and what method we should use.

    rsaModulus: string
    skipCompression: boolean

    Whether we should skip request compression or not.

    skipEncryption: boolean

    Whether we should skip request encryption or not.

    url: string