+ Rutas: LDAP (user info)

This commit is contained in:
Luis M 2024-03-13 16:35:05 -05:00
parent 0e5076853f
commit 3db3ebeec6
3 changed files with 80 additions and 8 deletions

30
.dockerignore Normal file
View File

@ -0,0 +1,30 @@
**/.classpath
**/.dockerignore
**/.env
**/.git
**/.gitignore
**/.project
**/.settings
**/.toolstarget
**/.vs
**/.vscode
**/*.*proj.user
**/*.dbmdl
**/*.jfm
**/azds.yaml
**/bin
**/charts
**/docker-compose*
**/Dockerfile*
**/node_modules
**/npm-debug.log
**/obj
**/secrets.dev.yaml
**/values.dev.yaml
LICENSE
README.md
!**/.gitignore
!.git/HEAD
!.git/config
!.git/packed-refs
!.git/refs/heads/**

View File

@ -1,13 +1,9 @@
{
"Routes": [
{
"SwaggerKey": "MsLdap",
"UpstreamPathTemplate": "/ldap/Conectar",
"UpstreamHttpMethod": [ "GET" ],
"DownstreamPathTemplate": "/Conectar",
"UpstreamPathTemplate": "/Ldap/users/by-id/{userID}",
"DownstreamPathTemplate": "/Ldap/users/by-id/{userID}",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
@ -17,7 +13,46 @@
],
"RouteClaimsRequirement": {
"permisos": "any"
}
},
"UpstreamHttpMethod": [
"GET"
]
},
{
"SwaggerKey": "MsLdap",
"UpstreamPathTemplate": "/Ldap/users/by-username/{username}",
"DownstreamPathTemplate": "/Ldap/users/by-username/{username}",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8173
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"GET"
]
},
{
"SwaggerKey": "MsLdap",
"UpstreamPathTemplate": "/Ldap/users/by-mail/{mail}",
"DownstreamPathTemplate": "/Ldap/users/by-mail/{mail}",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8173
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"GET"
]
}
]
}

View File

@ -19,6 +19,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IntegradorBE", "Microservic
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LdapLoginLib", "LdapLoginLib\LdapLoginLib.csproj", "{16DD05BC-4EA2-424D-BEAC-1412A8EE38BC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MsLdap", "Microservicios\MsLdap\MsLdap.csproj", "{DEC639DE-9AA5-420F-BFE7-50255756CEAB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -45,6 +47,10 @@ Global
{16DD05BC-4EA2-424D-BEAC-1412A8EE38BC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{16DD05BC-4EA2-424D-BEAC-1412A8EE38BC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{16DD05BC-4EA2-424D-BEAC-1412A8EE38BC}.Release|Any CPU.Build.0 = Release|Any CPU
{DEC639DE-9AA5-420F-BFE7-50255756CEAB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DEC639DE-9AA5-420F-BFE7-50255756CEAB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DEC639DE-9AA5-420F-BFE7-50255756CEAB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DEC639DE-9AA5-420F-BFE7-50255756CEAB}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@ -55,6 +61,7 @@ Global
{D0B80363-4C96-413F-8C82-48FCF2CD7F57} = {A449A86B-39E4-4EEB-B7C6-B6B12A0CBD2E}
{E3B575F9-4A18-43E6-A542-7CC29B086752} = {A449A86B-39E4-4EEB-B7C6-B6B12A0CBD2E}
{16DD05BC-4EA2-424D-BEAC-1412A8EE38BC} = {F491CF9B-9CF8-4F3B-BBD7-A282F7DC1D6D}
{DEC639DE-9AA5-420F-BFE7-50255756CEAB} = {A449A86B-39E4-4EEB-B7C6-B6B12A0CBD2E}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {EC576D5A-ADE3-40CC-BF55-7E52E6F18AC4}