<commit_before>require 'omniauth-oauth2'
module OmniAuth
  module Strategies
    class Keltec < OmniAuth::Strategies::OAuth2
      option :name, :keltec

      option :client_options, {
        :site => 'http://accounts.m8proj.citrin.ch',
        #:port => 443,
        :authorize_url => '/oauth/authorize'
      }

      uid { raw_info['id'] }

      info do
        {
          email: raw_info['email'],
          lastname: raw_info['lastname'],
          surname: raw_info['surname'],
          date_of_birth: raw_info['date_of_birth'],
          image_url: raw_info['image_url']
        }
      end
<commit_msg>moved accounts to keltec.ch<commit_after>require 'omniauth-oauth2'
module OmniAuth
  module Strategies
    class Keltec < OmniAuth::Strategies::OAuth2
      option :name, :keltec

      option :client_options, {
        :site => 'http://accounts.keltec.ch',
        #:port => 443,
        :authorize_url => '/oauth/authorize'
      }

      uid { raw_info['id'] }

      info do
        {
          email: raw_info['email'],
          lastname: raw_info['lastname'],
          surname: raw_info['surname'],
          date_of_birth: raw_info['date_of_birth'],
          image_url: raw_info['image_url']
        }
      end

{'fraction_non_alphanumeric': 0.12772837510105092, 'fraction_numerical': 0.00889248181083266, 'mean_word_length': 2.2578947368421054, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '3377389', 'n_tokens_mistral': 429, 'n_tokens_neox': 400, 'n_words': 73}