Skip to content

fix: Make the IProvideUserSecretBackend usable#60898

Open
CarlSchwan wants to merge 1 commit into
masterfrom
carl/user-interface
Open

fix: Make the IProvideUserSecretBackend usable#60898
CarlSchwan wants to merge 1 commit into
masterfrom
carl/user-interface

Conversation

@CarlSchwan
Copy link
Copy Markdown
Member

@CarlSchwan CarlSchwan commented Jun 1, 2026

Summary

When reviewing the implementation for user_saml (nextcloud/user_saml#697), I noticed that we do need to make the return value nullable as otherwise there are no way for this feature to be optional for the admin.

This is not really a breaking change as we can make the return type less strict without breaking an implemtable interface and more importantly no one use this interface.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@CarlSchwan CarlSchwan force-pushed the carl/user-interface branch 2 times, most recently from 18c1da1 to 1f4f9e5 Compare June 1, 2026 12:59
@CarlSchwan CarlSchwan added 3. to review Waiting for reviews team: IDP Code maintained by 🪪 IDP team labels Jun 1, 2026
Comment thread lib/public/Authentication/IProvideUserSecretBackend.php Outdated
When implementing this for user_saml, I noticed that we do need to make
the return value nullable as otherwise there are no way for this feature
to be optional for the admin.

Signed-off-by: Carl Schwan <carlschwan@kde.org>
@CarlSchwan CarlSchwan force-pushed the carl/user-interface branch from 1f4f9e5 to be8e80a Compare June 2, 2026 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants