diff --git a/modules/mobile/app/services/mobile/v0/lighthouse_claims/configuration.rb b/modules/mobile/app/services/mobile/v0/lighthouse_claims/configuration.rb deleted file mode 100644 index 5a05eed1549..00000000000 --- a/modules/mobile/app/services/mobile/v0/lighthouse_claims/configuration.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -require 'common/client/configuration/rest' -require 'lighthouse/auth/client_credentials/jwt_generator' -require 'lighthouse/auth/client_credentials/service' -module Mobile - module V0 - module LighthouseClaims - class Configuration < BenefitsClaims::Configuration - def token_service - @token_service ||= begin - url = "#{settings.host}/#{TOKEN_PATH}" - benefits_token = settings.access_token - mobile_token = Settings.mobile_lighthouse - Auth::ClientCredentials::Service.new( - url, API_SCOPES, mobile_token.client_id, benefits_token.aud_claim_url, mobile_token.rsa_key - ) - end - end - end - end - end -end diff --git a/modules/mobile/app/services/mobile/v0/lighthouse_claims/service.rb b/modules/mobile/app/services/mobile/v0/lighthouse_claims/service.rb deleted file mode 100644 index 7ac4e095b6a..00000000000 --- a/modules/mobile/app/services/mobile/v0/lighthouse_claims/service.rb +++ /dev/null @@ -1,16 +0,0 @@ -# frozen_string_literal: true - -require 'common/client/base' -require 'lighthouse/benefits_claims/configuration' -require 'lighthouse/benefits_claims/service_exception' -require 'lighthouse/benefits_claims/service' - -module Mobile - module V0 - module LighthouseClaims - class Service < BenefitsClaims::Service - configuration Mobile::V0::LighthouseClaims::Configuration - end - end - end -end