Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EncryptSessionFilter

This filter is active only if encryption is needed.
It adds AHOI session security filter with encrypted session key and encrypted banking access data for Access endpoint if encryption is active. It decrypts installationId from AHOI Registration endpoint response if encryption is active.

export
class

EncryptSessionFilter

extends

{AbstractHttpFilter}

Hierarchy

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Static SESSIONKEY_ITEM_NAME

SESSIONKEY_ITEM_NAME: "sessionKey" = "sessionKey"

Methods

doFilter

matches

  • Filter requests to Registration and Access endpoint (register new client/user in AHOI, grant bank access) and responses from Registration endpoint if encryption is active to add AHOI session security header and decrypt installationId from AHOI response

    memberof

    SessionEncryptionFilter

    Parameters

    Returns Promise<boolean>