Currently IdpMetadata#name_id_format is a singular (scalar) value.
Since the IdP metadata can include multiple nameId formats, it would be useful to add a #name_id_formats method.
Then, #name_id_format could be selected to be the one that matches the SP metadata requirement.
Currently
IdpMetadata#name_id_formatis a singular (scalar) value.Since the IdP metadata can include multiple nameId formats, it would be useful to add a #name_id_formats method.
Then,
#name_id_formatcould be selected to be the one that matches the SP metadata requirement.