package com.bcxin.api.interfaces.rbacs;

import com.bcxin.api.interfaces.rbacs.requests.AssignUserRequest;
import com.bcxin.api.interfaces.rbacs.responses.UserDetailGetResponse;
import com.bcxin.api.interfaces.rbacs.responses.UserGetResponse;
import org.springframework.stereotype.Component;

import java.util.Collection;

@Component
public interface RbacUserRpcProvider {
    void assign(String refSubjectId, AssignUserRequest request);

    UserDetailGetResponse getById(String refSubjectId, String id);
}
