MonoCloud Authentication SDK
    Preparing search index...
    decryptSession: (
        encryptedSession: string,
        secret: string,
    ) => Promise<MonoCloudSession>

    Decrypts an encrypted MonoCloud session.

    Type Declaration

      • (encryptedSession: string, secret: string): Promise<MonoCloudSession>
      • Parameters

        • encryptedSession: string

          The encrypted session string to decrypt.

        • secret: string

          The secret used for decryption.

        Returns Promise<MonoCloudSession>

        Session object on success.

    If decryption fails or the session has expired