<commit_before># -*- coding: utf-8 -*-

from __future__ import absolute_import


__author__ = 'lundberg'

"""
For more built in configuration options see,
http://flask.pocoo.org/docs/0.10/config/#builtin-configuration-values
"""

DEBUG = False

# Database URIs
MONGO_URI = 'mongodb://'
REDIS_HOST = ''
REDIS_PORT = 6379
REDIS_DB = 0

# Secret key
SECRET_KEY = None

# Logging
LOG_FILE = None
LOG_LEVEL = 'INFO'

# Session
PERMANENT_SESSION_LIFETIME = 300  # I have no clue what is a good value

# OIDC

CLIENT_REGISTRATION_INFO = {
    'client_id': 'can_not_be_empty_string',
    'client_secret': ''
}

PROVIDER_CONFIGURATION_INFO = {
    'issuer': 'can_not_be_empty_string',
    'authorization_endpoint': '',
    'jwks_uri': '',
    'response_types_supported': '',
    'subject_types_supported': '',
    'id_token_signing_alg_values_supported': '',

}
USERINFO_ENDPOINT_METHOD = 'POST'

# Api Spec config - https://github.com/OAI/OpenAPI-Specification
# from apispec import APISpec
# APISPEC_SPEC = APISpec(
#    title = 'eduid-idproofing-letter',
#    version = 'v1',
#    plugins = ('apispec.ext.marshmallow',),<commit_msg>Move setting to common<commit_after># -*- coding: utf-8 -*-

from __future__ import absolute_import


__author__ = 'lundberg'

"""
For more built in configuration options see,
http://flask.pocoo.org/docs/0.10/config/#builtin-configuration-values
"""

DEBUG = False

# Database URIs
MONGO_URI = 'mongodb://'
REDIS_HOST = ''
REDIS_PORT = 6379
REDIS_DB = 0

# Secret key
SECRET_KEY = None

# Logging
LOG_FILE = None
LOG_LEVEL = 'INFO'

# OIDC
CLIENT_REGISTRATION_INFO = {
    'client_id': 'can_not_be_empty_string',
    'client_secret': ''
}

PROVIDER_CONFIGURATION_INFO = {
    'issuer': 'can_not_be_empty_string',
    'authorization_endpoint': '',
    'jwks_uri': '',
    'response_types_supported': '',
    'subject_types_supported': '',
    'id_token_signing_alg_values_supported': '',

}
USERINFO_ENDPOINT_METHOD = 'POST'

# Api Spec config - https://github.com/OAI/OpenAPI-Specification
# from apispec import APISpec
# APISPEC_SPEC = APISpec(
#    title = 'eduid-idproofing-letter',
#    version = 'v1',
#    plugins = ('apispec.ext.marshmallow',),
{'fraction_non_alphanumeric': 0.13642627468994029, 'fraction_numerical': 0.010564997703261369, 'mean_word_length': 4.391089108910891, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2552918', 'n_tokens_mistral': 822, 'n_tokens_neox': 804, 'n_words': 150}