|
@ -38,6 +38,9 @@ URL_AUTH = ( |
|
|
"&scope={scope}&state={state}" |
|
|
"&scope={scope}&state={state}" |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
URL_CLIENT_REGISTRATION = URL_REALM + "/clients-registrations/default" |
|
|
|
|
|
URL_CLIENT_UPDATE = URL_CLIENT_REGISTRATION + "/{client-id}" |
|
|
|
|
|
|
|
|
# ADMIN URLS |
|
|
# ADMIN URLS |
|
|
URL_ADMIN_USERS = "admin/realms/{realm-name}/users" |
|
|
URL_ADMIN_USERS = "admin/realms/{realm-name}/users" |
|
|
URL_ADMIN_USERS_COUNT = "admin/realms/{realm-name}/users/count" |
|
|
URL_ADMIN_USERS_COUNT = "admin/realms/{realm-name}/users/count" |
|
@ -83,6 +86,7 @@ URL_ADMIN_GROUP_CHILD = "admin/realms/{realm-name}/groups/{id}/children" |
|
|
URL_ADMIN_GROUP_PERMISSIONS = "admin/realms/{realm-name}/groups/{id}/management/permissions" |
|
|
URL_ADMIN_GROUP_PERMISSIONS = "admin/realms/{realm-name}/groups/{id}/management/permissions" |
|
|
URL_ADMIN_GROUP_MEMBERS = "admin/realms/{realm-name}/groups/{id}/members" |
|
|
URL_ADMIN_GROUP_MEMBERS = "admin/realms/{realm-name}/groups/{id}/members" |
|
|
|
|
|
|
|
|
|
|
|
URL_ADMIN_CLIENT_INITIAL_ACCESS = "admin/realms/{realm-name}/clients-initial-access" |
|
|
URL_ADMIN_CLIENTS = "admin/realms/{realm-name}/clients" |
|
|
URL_ADMIN_CLIENTS = "admin/realms/{realm-name}/clients" |
|
|
URL_ADMIN_CLIENT = URL_ADMIN_CLIENTS + "/{id}" |
|
|
URL_ADMIN_CLIENT = URL_ADMIN_CLIENTS + "/{id}" |
|
|
URL_ADMIN_CLIENT_ALL_SESSIONS = URL_ADMIN_CLIENT + "/user-sessions" |
|
|
URL_ADMIN_CLIENT_ALL_SESSIONS = URL_ADMIN_CLIENT + "/user-sessions" |
|
@ -106,29 +110,21 @@ URL_ADMIN_CLIENT_DEFAULT_CLIENT_SCOPE = ( |
|
|
URL_ADMIN_CLIENT_DEFAULT_CLIENT_SCOPES + "/{client_scope_id}" |
|
|
URL_ADMIN_CLIENT_DEFAULT_CLIENT_SCOPES + "/{client_scope_id}" |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
URL_ADMIN_CLIENT_AUTHZ_SETTINGS = URL_ADMIN_CLIENT + "/authz/resource-server/settings" |
|
|
|
|
|
URL_ADMIN_CLIENT_AUTHZ_RESOURCES = URL_ADMIN_CLIENT + "/authz/resource-server/resource?max=-1" |
|
|
|
|
|
URL_ADMIN_CLIENT_AUTHZ_SCOPES = URL_ADMIN_CLIENT + "/authz/resource-server/scope?max=-1" |
|
|
|
|
|
URL_ADMIN_CLIENT_AUTHZ_PERMISSIONS = URL_ADMIN_CLIENT + "/authz/resource-server/permission?max=-1" |
|
|
|
|
|
URL_ADMIN_CLIENT_AUTHZ_POLICIES = ( |
|
|
|
|
|
URL_ADMIN_CLIENT + "/authz/resource-server/policy?max=-1&permission=false" |
|
|
|
|
|
) |
|
|
|
|
|
URL_ADMIN_CLIENT_AUTHZ_ROLE_BASED_POLICY = ( |
|
|
|
|
|
URL_ADMIN_CLIENT + "/authz/resource-server/policy/role?max=-1" |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
URL_ADMIN_CLIENT_AUTHZ = URL_ADMIN_CLIENT + "/authz/resource-server" |
|
|
|
|
|
URL_ADMIN_CLIENT_AUTHZ_SETTINGS = URL_ADMIN_CLIENT_AUTHZ + "/settings" |
|
|
|
|
|
URL_ADMIN_CLIENT_AUTHZ_RESOURCES = URL_ADMIN_CLIENT_AUTHZ + "/resource?max=-1" |
|
|
|
|
|
URL_ADMIN_CLIENT_AUTHZ_SCOPES = URL_ADMIN_CLIENT_AUTHZ + "/scope?max=-1" |
|
|
|
|
|
URL_ADMIN_CLIENT_AUTHZ_PERMISSIONS = URL_ADMIN_CLIENT_AUTHZ + "/permission?max=-1" |
|
|
|
|
|
URL_ADMIN_CLIENT_AUTHZ_POLICIES = URL_ADMIN_CLIENT_AUTHZ + "/policy?max=-1&permission=false" |
|
|
|
|
|
URL_ADMIN_CLIENT_AUTHZ_ROLE_BASED_POLICY = URL_ADMIN_CLIENT_AUTHZ + "/policy/role?max=-1" |
|
|
URL_ADMIN_CLIENT_AUTHZ_RESOURCE_BASED_PERMISSION = ( |
|
|
URL_ADMIN_CLIENT_AUTHZ_RESOURCE_BASED_PERMISSION = ( |
|
|
URL_ADMIN_CLIENT + "/authz/resource-server/permission/resource?max=-1" |
|
|
|
|
|
) |
|
|
|
|
|
URL_ADMIN_CLIENT_AUTHZ_POLICY_SCOPES = ( |
|
|
|
|
|
URL_ADMIN_CLIENT + "/authz/resource-server/policy/{policy-id}/scopes" |
|
|
|
|
|
) |
|
|
|
|
|
URL_ADMIN_CLIENT_AUTHZ_POLICY_RESOURCES = ( |
|
|
|
|
|
URL_ADMIN_CLIENT + "/authz/resource-server/policy/{policy-id}/resources" |
|
|
|
|
|
) |
|
|
|
|
|
URL_ADMIN_CLIENT_AUTHZ_SCOPE_PERMISSION = ( |
|
|
|
|
|
URL_ADMIN_CLIENT + "/authz/resource-server/permission/scope/{scope-id}" |
|
|
|
|
|
|
|
|
URL_ADMIN_CLIENT_AUTHZ + "/permission/resource?max=-1" |
|
|
) |
|
|
) |
|
|
URL_ADMIN_CLIENT_AUTHZ_CLIENT_POLICY = URL_ADMIN_CLIENT + "/authz/resource-server/policy/client" |
|
|
|
|
|
|
|
|
URL_ADMIN_CLIENT_AUTHZ_POLICY = URL_ADMIN_CLIENT_AUTHZ + "/policy/{policy-id}" |
|
|
|
|
|
URL_ADMIN_CLIENT_AUTHZ_POLICY_SCOPES = URL_ADMIN_CLIENT_AUTHZ_POLICY + "/scopes" |
|
|
|
|
|
URL_ADMIN_CLIENT_AUTHZ_POLICY_RESOURCES = URL_ADMIN_CLIENT_AUTHZ_POLICY + "/resources" |
|
|
|
|
|
URL_ADMIN_CLIENT_AUTHZ_SCOPE_PERMISSION = URL_ADMIN_CLIENT_AUTHZ + "/permission/scope/{scope-id}" |
|
|
|
|
|
URL_ADMIN_CLIENT_AUTHZ_CLIENT_POLICY = URL_ADMIN_CLIENT_AUTHZ + "/policy/client" |
|
|
|
|
|
|
|
|
URL_ADMIN_CLIENT_SERVICE_ACCOUNT_USER = URL_ADMIN_CLIENT + "/service-account-user" |
|
|
URL_ADMIN_CLIENT_SERVICE_ACCOUNT_USER = URL_ADMIN_CLIENT + "/service-account-user" |
|
|
URL_ADMIN_CLIENT_CERTS = URL_ADMIN_CLIENT + "/certificates/{attr}" |
|
|
URL_ADMIN_CLIENT_CERTS = URL_ADMIN_CLIENT + "/certificates/{attr}" |
|
|