Sha256: da7eb9fcb4ed3723015f35ac5c7e7ea39929a920384bb9d540b9dafd40c96044

Contents?: true

Size: 628 Bytes

Versions: 6

Compression:

Stored size: 628 Bytes

Contents

# frozen_string_literal: true

module Ibrain
  class AuthConfiguration < Preferences::Configuration
    preference :api_version, :string, default: 'v1'
    # Firebase API Key
    preference :firebase_api_key, :string, default: nil

    # JWT Secret key
    preference :jwt_secret_key, :string, default: nil

    # JWT user table name
    preference :user_table_name, :string, default: 'ibrain_users'

    # sign_up input
    preference :sign_up_input, :class, default: Ibrain::Auth::Types::Input::SignUpInput

    # sign_in input
    preference :sign_in_input, :class, default: Ibrain::Auth::Types::Input::SignInInput
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ibrain-auth-0.2.8 lib/ibrain/auth_configuration.rb
ibrain-auth-0.2.6 lib/ibrain/auth_configuration.rb
ibrain-auth-0.2.5 lib/ibrain/auth_configuration.rb
ibrain-auth-0.2.3 lib/ibrain/auth_configuration.rb
ibrain-auth-0.2.2 lib/ibrain/auth_configuration.rb
ibrain-auth-0.2.1 lib/ibrain/auth_configuration.rb