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

Merge Master branch to 2.x #696

Merged
merged 6 commits into from
Jul 9, 2024

Conversation

johnnyshields
Copy link
Collaborator

No description provided.

calebhearth and others added 5 commits July 8, 2024 09:19
I have a use-case for being able to cache the intermediate fetch of
metadata in case of temporary failures, so rather than:

    parser.parse_remote(url)

I'd like to

    begin
      metadata = parser.get_idp_metadata(url, true)
      do_my_caching(metadata)
      parser.parse(metadata)
    rescue HttpError
      load_cache
    end

There's a fair amount of logic in the get_idp_metadata method that I'd
rather not need to re-implement. Right now I have this implemented with
`parser.send(:get_idp_metadata, url, true)` which is obviously not great
if the internals of this class change in the future. Can we move this
method to the public API?
…tadata-public

Make IdpMetadataParser#get_idp_metadata public
…sts-windows

Master: Fix tests on Windows, add Ruby 3.3, and cleanup CI
@johnnyshields
Copy link
Collaborator Author

Strange, Coveralls for TruffleRuby is failing, but it works fine on master branch. I'll take a look at it tomorrow.

@johnnyshields
Copy link
Collaborator Author

Reverted coveralls failure. @pitbulk this is ok to merge.

@pitbulk pitbulk merged commit 8748250 into SAML-Toolkits:v2.x Jul 9, 2024
24 checks passed
@johnnyshields johnnyshields deleted the merge-master-20240709 branch July 9, 2024 17:34
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.

3 participants