Method: Spid::IdentityProviderManager.find_by_entity

Defined in:
lib/spid/identity_provider_manager.rb

.find_by_entity(entity_id) ⇒ Object



22
23
24
25
26
# File 'lib/spid/identity_provider_manager.rb', line 22

def self.find_by_entity(entity_id)
  instance.identity_providers.find do |idp|
    idp.entity_id == entity_id
  end
end