<commit_before>﻿using System.Collections.Generic;
using SimpleIdentityServer.DataAccess.Fake.Models;

namespace SimpleIdentityServer.Api.Configuration
{
    public static class Clients
    {
        public static List<Client> Get()
        {
            return new List<Client>
            {
                new Client
                {
                    ClientId = "MyBlog",
                    DisplayName = "My blog",
                    ClientSecret = "MyBlog",
                    AllowedScopes = new List<Scope>
                    {
                        // PROTECTED API SCOPES
                        new Scope
                        {
                            Name = "BlogApi"
                        },
                        new Scope
                        {
                            Name = "BlogApi:AddArticle"
                        },
                        new Scope
                        {
                            Name = "openid",
                            IsExposed = true,
                            IsInternal = true,
                            Description = "openid",
                            Type = ScopeType.ProtectedApi
                        },
                        // RO SCOPES
                        new Scope
                        {
                            Name = "profile",
                            IsExposed = true,
                            IsInternal = true,
                            Description = "Access to the profile",
                            Claims = new List<string>
                            {
                                Core.Jwt.Constants.StandardResourceOwnerClaimNames.Name,
                                Core.Jwt.Constants.StandardResourceOwnerClaimNames.FamilyName,
                                Core.Jwt.Constants.StandardResourceOwnerClaimNames.GivenName,
                                Core.Jwt.Constants.StandardResourceOwnerClaimNames.MiddleName,
                                Core.Jwt.Constants.StandardResourceOwnerClaimNames.NickName,
                                Core.Jwt.Constants.StandardResourceOwnerClaimNames.PreferredUserName,
                                Core.Jwt.Constants.StandardResourceOwnerClaimNames.Profile,
                                Core.Jwt.Constants.StandardResourceOwnerClaimNames.Picture,
                                Core.Jwt.Constants.StandardResourceOwnerClaimNames.WebSite,
                                Core.Jwt.Constants.StandardResourceOwnerClaimNames.Gender,
                                Core.Jwt.Constants.StandardResourceOwnerClaimNames.BirthDate,
                                Core.Jwt.Constants.StandardResourceOwnerClaimNames.ZoneInfo,
                                Core.Jwt.Constants.StandardResourceOwnerClaimNames.Locale,
                                Core.Jwt.Constants.StandardResourceOwnerClaimNames.UpdatedAt
                            },
                            Type = ScopeType.ResourceOwner
                        }
                    },
                    GrantTypes = new List<GrantType>
                    {
                        GrantType.@implicit,
                        GrantType.authorization_code
                    },
                    ResponseTypes = new List<ResponseType>
                    {
                        ResponseType.token,
                        ResponseType.code,
                        ResponseType.id_token
                    },
                    IdTokenSignedTResponseAlg = "none",
                    RedirectionUrls = new List<RedirectionUrl>
                    {
                        new RedirectionUrl
                        {
                            Url = "https://op.certification.openid.net:60360/authz_cb"
                        },
                        new RedirectionUrl
                        {
                            Url = "http://localhost"
                        }
                    }
                }
            };
        }
    }
}<commit_msg>Update the redirection url<commit_after>﻿using System.Collections.Generic;
using SimpleIdentityServer.DataAccess.Fake.Models;

namespace SimpleIdentityServer.Api.Configuration
{
    public static class Clients
    {
        public static List<Client> Get()
        {
            return new List<Client>
            {
                new Client
                {
                    ClientId = "MyBlog",
                    DisplayName = "My blog",
                    ClientSecret = "MyBlog",
                    AllowedScopes = new List<Scope>
                    {
                        // PROTECTED API SCOPES
                        new Scope
                        {
                            Name = "BlogApi"
                        },
                        new Scope
                        {
                            Name = "BlogApi:AddArticle"
                        },
                        new Scope
                        {
                            Name = "openid",
                            IsExposed = true,
                            IsInternal = true,
                            Description = "openid",
                            Type = ScopeType.ProtectedApi
                        },
                        // RO SCOPES
                        new Scope
                        {
                            Name = "profile",
                            IsExposed = true,
                            IsInternal = true,
                            Description = "Access to the profile",
                            Claims = new List<string>
                            {
                                Core.Jwt.Constants.StandardResourceOwnerClaimNames.Name,
                                Core.Jwt.Constants.StandardResourceOwnerClaimNames.FamilyName,
                                Core.Jwt.Constants.StandardResourceOwnerClaimNames.GivenName,
                                Core.Jwt.Constants.StandardResourceOwnerClaimNames.MiddleName,
                                Core.Jwt.Constants.StandardResourceOwnerClaimNames.NickName,
                                Core.Jwt.Constants.StandardResourceOwnerClaimNames.PreferredUserName,
                                Core.Jwt.Constants.StandardResourceOwnerClaimNames.Profile,
                                Core.Jwt.Constants.StandardResourceOwnerClaimNames.Picture,
                                Core.Jwt.Constants.StandardResourceOwnerClaimNames.WebSite,
                                Core.Jwt.Constants.StandardResourceOwnerClaimNames.Gender,
                                Core.Jwt.Constants.StandardResourceOwnerClaimNames.BirthDate,
                                Core.Jwt.Constants.StandardResourceOwnerClaimNames.ZoneInfo,
                                Core.Jwt.Constants.StandardResourceOwnerClaimNames.Locale,
                                Core.Jwt.Constants.StandardResourceOwnerClaimNames.UpdatedAt
                            },
                            Type = ScopeType.ResourceOwner
                        }
                    },
                    GrantTypes = new List<GrantType>
                    {
                        GrantType.@implicit,
                        GrantType.authorization_code
                    },
                    ResponseTypes = new List<ResponseType>
                    {
                        ResponseType.token,
                        ResponseType.code,
                        ResponseType.id_token
                    },
                    IdTokenSignedTResponseAlg = "none",
                    RedirectionUrls = new List<RedirectionUrl>
                    {
                        new RedirectionUrl
                        {
                            Url = "https://op.certification.openid.net:60360/authz_cb"
                        },
                        new RedirectionUrl
                        {
                            Url = "http://localhost"
                        },
                        new RedirectionUrl
                        {
                            Url = "https://op.certification.openid.net:60186/authz_cb"
                        }
                    }
                }
            };
        }
    }
}
{'fraction_non_alphanumeric': 0.05632435057052683, 'fraction_numerical': 0.001820830298616169, 'mean_word_length': 0.8135593220338984, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 3, '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': '5217359', 'n_tokens_mistral': 1740, 'n_tokens_neox': 1577, 'n_words': 227}