You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.4 KiB

7 years ago
7 years ago
7 years ago
  1. # -*- coding: utf-8 -*-
  2. #
  3. # Copyright (C) 2017 Marcos Pereira <marcospereira.mpj@gmail.com>
  4. #
  5. # This program is free software: you can redistribute it and/or modify
  6. # it under the terms of the GNU Lesser General Public License as published by
  7. # the Free Software Foundation, either version 3 of the License, or
  8. # (at your option) any later version.
  9. #
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. # GNU Lesser General Public License for more details.
  14. #
  15. # You should have received a copy of the GNU Lesser General Public License
  16. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. # OPENID URLS
  18. URL_WELL_KNOWN = "realms/{realm-name}/.well-known/openid-configuration"
  19. URL_TOKEN = "realms/{realm-name}/protocol/openid-connect/token"
  20. URL_USERINFO = "realms/{realm-name}/protocol/openid-connect/userinfo"
  21. URL_LOGOUT = "realms/{realm-name}/protocol/openid-connect/logout"
  22. URL_CERTS = "realms/{realm-name}/protocol/openid-connect/certs"
  23. URL_INTROSPECT = "realms/{realm-name}/protocol/openid-connect/token/introspect"
  24. URL_ENTITLEMENT = "realms/{realm-name}/authz/entitlement/{resource-server-id}"
  25. # ADMIN URLS
  26. URL_ADMIN_USERS = "admin/realms/{realm-name}/users"
  27. URL_ADMIN_USERS_COUNT = "admin/realms/{realm-name}/users/count"
  28. URL_ADMIN_USER = "admin/realms/{realm-name}/users/{id}"