internal static ConfigurationStoreModelMapper AddClientContextMappings(this ConfigurationStoreModelMapper mapper)
        {
            mapper.AddMapping <ClientMap>();
            mapper.AddMapping <ClientGrantTypeMap>();
            mapper.AddMapping <ClientSecretMap>();
            mapper.AddMapping <ClientRedirectUriMap>();
            mapper.AddMapping <ClientPostLogoutRedirectUriMap>();
            mapper.AddMapping <ClientScopeMap>();
            mapper.AddMapping <ClientIdPRestrictionMap>();
            mapper.AddMapping <ClientClaimMap>();
            mapper.AddMapping <ClientCorsOriginMap>();
            mapper.AddMapping <ClientPropertyMap>();

            return(mapper);
        }
        internal static ConfigurationStoreModelMapper AddResourceContextMappings(this ConfigurationStoreModelMapper mapper)
        {
            mapper.AddMapping <IdentityResourceMap>();
            mapper.AddMapping <IdentityClaimMap>();
            mapper.AddMapping <IdentityResourcePropertyMap>();
            mapper.AddMapping <ApiResourceMap>();
            mapper.AddMapping <ApiResourcePropertyMap>();
            mapper.AddMapping <ApiResourceSecretMap>();
            mapper.AddMapping <ApiResourceClaimMap>();
            mapper.AddMapping <ApiResourceScopeMap>();
            mapper.AddMapping <ApiScopeMap>();
            mapper.AddMapping <ApiScopeClaimMap>();

            return(mapper);
        }