Class ResolveLoginHandlerAbstract

A handler that takes care of all the necessary steps when logging a user in, such as generating a cookie and setting the necessary OIDC information. Classes that resolve login methods should extend this class and implement the login method.

Hierarchy (view full)

Constructors

Properties

accountStore: AccountStore
cookieStore: CookieStore
logger: Logger = ...

Methods

  • Updates the account setting that determines whether the login status needs to be remembered.

    Parameters

    • accountId: string

      ID of the account.

    • Optionalremember: boolean

      If the account should be remembered or not. The setting will not be updated if this is undefined.

    Returns Promise<void>