feat: Implement get role mappings API endpoint

This commit is contained in:
Faruk AYDIN
2024-03-14 15:46:08 +01:00
parent 29341f81e1
commit 64049bd546
7 changed files with 125 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
const roleMappingSerializer = (roleMapping) => {
return {
id: roleMapping.id,
samlAuthProviderId: roleMapping.samlAuthProviderId,
roleId: roleMapping.roleId,
remoteRoleName: roleMapping.remoteRoleName,
};
};
export default roleMappingSerializer;