Skip to content

Commit

Permalink
Merge pull request #315 from Kanapriya/multi_user_cretion
Browse files Browse the repository at this point in the history
Support to invite multiple users to the sub org from parent org
  • Loading branch information
Kanapriya authored Dec 13, 2023
2 parents ae69cf3 + 821d1c6 commit 60d43f4
Show file tree
Hide file tree
Showing 6 changed files with 328 additions and 123 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

import org.wso2.carbon.identity.organization.user.invitation.management.exception.UserInvitationMgtException;
import org.wso2.carbon.identity.organization.user.invitation.management.models.Invitation;
import org.wso2.carbon.identity.organization.user.invitation.management.models.InvitationDO;
import org.wso2.carbon.identity.organization.user.invitation.management.models.InvitationResult;

import java.util.List;

Expand All @@ -32,10 +34,10 @@ public interface InvitationCoreService {
* Creates an invitation with the details coming from the user.
*
* @param invitation Contains the details that are required to create an invitation.
* @return The created invitation.
* @return The list of created invitations.
* @throws UserInvitationMgtException If an error occurs while creating the invitation.
*/
Invitation createInvitation(Invitation invitation) throws UserInvitationMgtException;
List<InvitationResult> createInvitations(InvitationDO invitation) throws UserInvitationMgtException;

/**
* Accepts the invitation with the given confirmation code.
Expand Down
Loading

0 comments on commit 60d43f4

Please sign in to comment.