You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# @param url [String] Url where the XML of the Identity Provider Metadata is published.
31
+
# @param validate_cert [Boolean] If true and the URL is HTTPs, the cert of the domain is checked.
32
+
#
33
+
# @param options [Hash] options used for parsing the metadata and the returned Settings instance
34
+
# @option options [OneLogin::RubySaml::Settings, Hash] :settings the OneLogin::RubySaml::Settings object which gets the parsed metadata merged into or an hash for Settings overrides.
35
+
# @option options [Array<String>, nil] :sso_binding an ordered list of bindings to detect the single signon URL. The first binding in the list that is included in the metadata will be used.
36
+
# @option options [Array<String>, nil] :slo_binding an ordered list of bindings to detect the single logout URL. The first binding in the list that is included in the metadata will be used.
37
+
# @option options [String, nil] :entity_id when this is given, the entity descriptor for this ID is used. When ommitted, the first entity descriptor is used.
38
+
#
39
+
# @return [OneLogin::RubySaml::Settings]
40
+
#
41
+
# @raise [HttpError] Failure to fetch remote IdP metadata
# Parse the Identity Provider metadata and return the results as Hash
40
48
#
41
49
# @param url [String] Url where the XML of the Identity Provider Metadata is published.
42
50
# @param validate_cert [Boolean] If true and the URL is HTTPs, the cert of the domain is checked.
43
-
# @param parse_options [Hash] :settings to provide the OneLogin::RubySaml::Settings object or an hash for Settings overrides
51
+
#
52
+
# @param options [Hash] options used for parsing the metadata
53
+
# @option options [Array<String>, nil] :sso_binding an ordered list of bindings to detect the single signon URL. The first binding in the list that is included in the metadata will be used.
54
+
# @option options [Array<String>, nil] :slo_binding an ordered list of bindings to detect the single logout URL. The first binding in the list that is included in the metadata will be used.
55
+
# @option options [String, nil] :entity_id when this is given, the entity descriptor for this ID is used. When ommitted, the first entity descriptor is used.
56
+
#
44
57
# @return [Hash]
58
+
#
45
59
# @raise [HttpError] Failure to fetch remote IdP metadata
# @param options [Hash] :settings to provide the OneLogin::RubySaml::Settings object or an hash for Settings overrides
70
+
# @option options [OneLogin::RubySaml::Settings, Hash] :settings the OneLogin::RubySaml::Settings object which gets the parsed metadata merged into or an hash for Settings overrides.
71
+
# @option options [Array<String>, nil] :sso_binding an ordered list of bindings to detect the single signon URL. The first binding in the list that is included in the metadata will be used.
72
+
# @option options [Array<String>, nil] :slo_binding an ordered list of bindings to detect the single logout URL. The first binding in the list that is included in the metadata will be used.
73
+
# @option options [String, nil] :entity_id when this is given, the entity descriptor for this ID is used. When ommitted, the first entity descriptor is used.
# Parse the Identity Provider metadata and return the results as Hash
72
91
#
73
92
# @param idp_metadata [String]
74
-
# @param parse_options [Hash] :settings to provide the OneLogin::RubySaml::Settings object or an hash for Settings overrides
75
93
#
76
-
# @return [Settings]
77
-
defparse_to_hash(idp_metadata,parse_options={})
94
+
# @param options [Hash] options used for parsing the metadata and the returned Settings instance
95
+
# @option options [Array<String>, nil] :sso_binding an ordered list of bindings to detect the single signon URL. The first binding in the list that is included in the metadata will be used.
96
+
# @option options [Array<String>, nil] :slo_binding an ordered list of bindings to detect the single logout URL. The first binding in the list that is included in the metadata will be used.
97
+
# @option options [String, nil] :entity_id when this is given, the entity descriptor for this ID is used. When ommitted, the first entity descriptor is used.
0 commit comments