Circle V2 API Docs
    Preparing search index...
    • Returns the user if they are logged in and have the required role, otherwise redirects to the unauthorized page.

      Parameters

      • _allowedRoles: unknown[]
      • Optional_options: RequireRoleOptions

      Returns Promise<User>