• Returns a global reactive GraffitiSession instance as a Vue ref.

    In Vue templates and the options API use the global variable $graffitiSession instead.

    While the application is loading and restoring any previous sessions, the value will be undefined. If the user is not logged in, the value will be null.

    This only keeps track of one session. If your app needs to support multiple login sessions, you'll need to manage them yourself using Graffiti.sessionEvents.

    Returns Ref<undefined | null | GraffitiSession, undefined | null | GraffitiSession>

    If the GraffitiPlugin is not installed