class GithubClaimResolver {

    public Boolean canClaim(final Principal user, final RequestDto request) {
        final String owner = request.getIssueInformation().getOwner();
        final String repo = request.getIssueInformation().getRepo();
        final String number = request.getIssueInformation().getNumber();
        final GithubIssue githubIssue = githubScraper.fetchGithubIssue(owner, repo, number);
        return isIssueClosed(githubIssue) && isClaimalbeByLoggedInUser(user, request, githubIssue.getSolver());
    }

    public  GithubClaimResolver(final GithubScraper githubScraper,
                               final AzraelClient azraelClient,
                               final KeycloakRepository keycloakRepository);

}