Function authGuard

  • Parameters

    • to: RouteLocation

    Returns Promise<boolean>