<commit_before>﻿using System.ComponentModel.Composition;
using System.IdentityModel.Protocols.WSTrust;
using System.Net.Http;
using System.Security.Claims;
using System.Web.Http;
using Thinktecture.IdentityServer.Repositories;
using System.Linq;
using System.Net;
using System.Web;

namespace Thinktecture.IdentityServer.Protocols.SimpleHTTP
{
    public class SimpleHttpController : ApiController
    {
        [Import]
        public IConfigurationRepository ConfigurationRepository { get; set; }

        public SimpleHttpController()
        {<commit_msg>Added ApiClaimsAuthorize to SimpleHttp<commit_after>﻿using System.ComponentModel.Composition;
using System.IdentityModel.Protocols.WSTrust;
using System.Net.Http;
using System.Security.Claims;
using System.Web.Http;
using Thinktecture.IdentityServer.Repositories;
using System.Linq;
using System.Net;
using System.Web;

namespace Thinktecture.IdentityServer.Protocols.SimpleHTTP
{
    [ApiClaimsAuthorize(Constants.Actions.Issue, Constants.Resources.SimpleHttp)]
    public class SimpleHttpController : ApiController
    {
        [Import]
        public IConfigurationRepository ConfigurationRepository { get; set; }

        public SimpleHttpController()
        {
{'fraction_non_alphanumeric': 0.07918367346938776, 'fraction_numerical': 0.0, 'mean_word_length': 4.838095238095238, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4631510', 'n_tokens_mistral': 331, 'n_tokens_neox': 334, 'n_words': 69}