Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename id to issuer for Net::SAML2::SP #202

Conversation

waterkip
Copy link
Collaborator

@waterkip waterkip commented Feb 13, 2024

We've had generate_sp_desciptor_id to override the ID, but this could
very well become a parameter for the constructor. The current ID
attribute was actually used as the issuer. Rename ID to issuer and and
reintroduce ID. We add some deprecation warnings to users so they are
aware of the change.

@waterkip waterkip force-pushed the GH-invalid-id_for_metadata_is_possible branch from 0def45a to cf28817 Compare February 13, 2024 14:18
We've had generate_sp_desciptor_id to override the ID, but this could
very well become a parameter for the constructor. The current ID
attribute was actually used as the issuer. Rename ID to issuer and and
reintroduce ID. We add some deprecation warnings to users so they are
aware of the change.

Signed-off-by: Wesley Schwengle <waterkip@cpan.org>
@waterkip waterkip force-pushed the GH-invalid-id_for_metadata_is_possible branch from cf28817 to c53ba9d Compare February 13, 2024 16:06
@waterkip waterkip changed the title Assert the validness of generate_sp_desciptor_id Rename id to issuer for Net::SAML2::SP Feb 13, 2024
Copy link
Contributor

@timlegge timlegge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine but I made a few comments

lib/Net/SAML2/SP.pm Show resolved Hide resolved
@waterkip waterkip merged commit 2a41fd7 into perl-net-saml2:master Feb 14, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants