Function recoverSession

  • Factory method for session recovery

    Parameters

    • token: string

      The authorization token

    • config: SessionConfig

      Session configuration

    Returns Session

    A promise of a new SippoJS session