diff --git a/tools/swagger/docs/api-external/iam-external/swagger.json b/tools/swagger/docs/api-external/iam-external/swagger.json index 0ccd1c1a2cdc87b7cd098725f44ae13c63efc5a4..4d9f3c17539e58f803172bc1f12f00f449f32b4c 100644 --- a/tools/swagger/docs/api-external/iam-external/swagger.json +++ b/tools/swagger/docs/api-external/iam-external/swagger.json @@ -374,6 +374,79 @@ } } }, + "/cas/users": { + "get": { + "tags": [ + "Cas" + ], + "summary": "Récupération d'un utilisateur avec gestion du provisioning", + "operationId": "getUserByIdUsingGETWithProvisioning", + "parameters": [ + { + "$ref": "#/parameters/x-tenant-id" + }, + { + "$ref": "#/parameters/x-user-token" + }, + { + "$ref": "#/parameters/x-application-id" + }, + { + "name": "email", + "in": "query", + "description": "Email de l'utilisateur", + "required": true, + "type": "string" + }, + { + "name": "idp", + "in": "query", + "description": "Identifiant technique de l'idp de l'utilisateur", + "required": true, + "type": "string" + }, + { + "name": "userIdentifier", + "in": "query", + "description": "Identifiant technique de l'utilisateur", + "required": false, + "type": "string" + }, + { + "name": "embedded", + "in": "query", + "description": "value authtoken pour générer un token d'authentification, surrogation pour signifier que c'est une connexion par subrogation", + "required": false, + "type": "array", + "items": { + "type": "string", + "enum": [ + "authtoken", + "surrogation" + ] + }, + "collectionFormat": "csv" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/UserDto" + } + }, + "401": { + "$ref": "#/responses/Unauthorized" + }, + "403": { + "$ref": "#/responses/Forbidden" + }, + "404": { + "$ref": "#/responses/NotFound" + } + } + } + }, "/cas/users": { "get": { "tags": [ diff --git a/tools/swagger/docs/api-internal/iam-internal/swagger.json b/tools/swagger/docs/api-internal/iam-internal/swagger.json index 593e3bd3a55c1b2ca03c1cd587d6ede9f7a6194e..0703643287076cf3d89b8ff269d56cb41c844bb7 100644 --- a/tools/swagger/docs/api-internal/iam-internal/swagger.json +++ b/tools/swagger/docs/api-internal/iam-internal/swagger.json @@ -458,6 +458,82 @@ } } }, + "/cas/users/provisioning": { + "get": { + "tags": [ + "Cas" + ], + "summary": "Récupération d'un utilisateur avec gestion du provisioning", + "operationId": "getUserByIdUsingGETWithProvisioning", + "parameters": [ + { + "$ref": "#/parameters/x-tenant-id" + }, + { + "$ref": "#/parameters/x-user-token" + }, + { + "$ref": "#/parameters/x-application-id" + }, + { + "$ref": "#/parameters/x-user-level" + }, + { + "$ref": "#/parameters/x-customer-id" + }, + { + "name": "email", + "in": "query", + "description": "Email de l'utilisateur", + "required": true, + "type": "string" + }, + { + "name": "idp", + "in": "query", + "description": "Identifiant technique de l'idp de l'utilisateur", + "required": true, + "type": "string" + }, + { + "name": "userIdentifier", + "in": "query", + "description": "Identifiant technique de l'utilisateur", + "required": false, + "type": "string" + }, + { + "name": "embedded", + "in": "query", + "description": "value authtoken pour générer un token d'authentification, surrogation pour signifier que c'est une connexion par subrogation", + "required": false, + "type": "array", + "items": { + "type": "string", + "enum": [ + "authtoken", + "surrogation" + ] + }, + "collectionFormat": "csv" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/UserDto" + } + }, + "401": { + "$ref": "#/responses/Unauthorized" + }, + "404": { + "$ref": "#/responses/NotFound" + } + } + } + }, "/customers": { "get": { "tags": [