Function createSession

  • Factory method for session creation

    Parameters

    • token: undefined | string

      The authorization token from the given issuer. Set this to undefined to create an anonymous session

    • config: SessionConfig

      Session configuration

    Returns Session

    A new SippoJS session