Function createAuthGuard

  • Parameters

    • Optional app: App<any>

      The vue application

    Returns ((to) => Promise<boolean>)

      • (to): Promise<boolean>
      • Parameters

        • to: RouteLocation

        Returns Promise<boolean>

  • Parameters

    Returns ((to) => Promise<boolean>)

      • (to): Promise<boolean>
      • Parameters

        • to: RouteLocation

        Returns Promise<boolean>