Skip to content

Commit

Permalink
remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
skmetz committed Mar 21, 2015
1 parent c854449 commit 97175ac
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions crazy_controller/lib/collaborators.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,33 +41,10 @@ def translated_attributes(attrs)
attrs
end

def response(saml_url, saml_response)
response_class =
if issuer == 'www.healthnet.com:omada'
HealthNetSamlResponse
else
StandardResponse
end

saml_settings = OneLoginSamlSettings.new
saml_settings.assertion_consumer_service_url = saml_url
saml_settings.issuer = issuer
saml_settings.idp_sso_target_url = target_url
saml_settings.idp_cert_fingerprint = fingerprint

response = response_class.new(saml_response)

response.settings = saml_settings
response
end
end

class SamlIdentity

# def self.count
# 1
# end

attr_reader :account_id, :account
def initialize(account_id=1,account='an account')
@account_id = account_id
Expand Down

0 comments on commit 97175ac

Please sign in to comment.