Class FRUserAbstract

High-level API for logging a user in/out and getting profile information.

Constructors

Methods

Constructors

Methods

  • Logs the user in with the specified step handler, acquires OAuth tokens, and retrieves user profile. Currently not implemented.

    Type Parameters

    • T

    Parameters

    • handler: FRStepHandler

      The function to invoke when handling authentication steps

    • Optionaloptions: ConfigOptions

      Configuration overrides

    Returns Promise<FRStep | T>

    T The type of user object expected

  • Ends the user's session and revokes OAuth tokens.

    Parameters

    Returns Promise<void>