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

Introduce API v2 authn_method_metadata_replace #2159

Merged
merged 6 commits into from
Dec 22, 2023

Conversation

frederikrothenberger
Copy link
Contributor

@frederikrothenberger frederikrothenberger commented Dec 21, 2023

This PR introduces the API v2 authn_method_metadata_replace method.
It replaces the metadata map of an existing authn_method of an identity.
It will be used in place of the current update method. The scope reduction
to just metadata is there to have a clear separation between security
relevant changes to an authn_method (such as modifying the protection) and
changes not relevant to security (modifying the alias entry in the metadata).

Frederik Rothenberger and others added 2 commits December 21, 2023 15:28
This PR introduces the API v2 `authn_method_metadata_replace` method.
It replaces the metadata map of an existing `authn_method` of an identity.
It will be used in place of the current `update` method. The scope reduction
to just `metadata` is there to have a clear separation between security
relevant changes to an authn_method (such as modifying the `protection`) and
changes not relevant to security (modifying the `alias` entry in the metadata).
Copy link
Collaborator

@przydatek przydatek left a comment

Choose a reason for hiding this comment

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

LGTM, modulo minor suggestions.
Thanks!

@frederikrothenberger frederikrothenberger added this pull request to the merge queue Dec 22, 2023
Merged via the queue into main with commit 10f5b53 Dec 22, 2023
57 checks passed
@frederikrothenberger frederikrothenberger deleted the frederik/v2-metadata-update branch December 22, 2023 12:10
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.

2 participants