Skip to content

Commit

Permalink
Merge pull request #691 from calebhearth/make-get_idp_metadata-public
Browse files Browse the repository at this point in the history
Make IdpMetadataParser#get_idp_metadata public
  • Loading branch information
pitbulk authored Jul 8, 2024
2 parents f40c59b + 43b0bb6 commit e827926
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/onelogin/ruby-saml/idp_metadata_parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,6 @@ def parse_to_idp_metadata_array(idp_metadata, options = {})
idpsso_descriptors.map {|id| IdpMetadata.new(id, id.parent.attributes["entityID"])}
end

private

# Retrieve the remote IdP metadata from the URL or a cached copy.
# @param url [String] Url where the XML of the Identity Provider Metadata is published.
# @param validate_cert [Boolean] If true and the URL is HTTPs, the cert of the domain is checked.
Expand Down Expand Up @@ -220,6 +218,8 @@ def get_idp_metadata(url, validate_cert)
)
end

private

class IdpMetadata
attr_reader :idpsso_descriptor, :entity_id

Expand Down

0 comments on commit e827926

Please sign in to comment.