If we change the access modifier of AuthenticationManager::getSortedProviders() from private to public, we will allow other modules to obtain the list of available authentication methods.

I am building a UI to configure REST services through the user interface, and need to list the available authentication methods when a resource is checked.

Comments

juampynr’s picture

Status: Active » Needs review
StatusFileSize
new662 bytes

Here is the patch.

corvus_ch’s picture

Category: bug » feature
Priority: Normal » Major
Status: Needs review » Reviewed & tested by the community

That is a reasonable request and I do not see why we should hide this list from modules.

I set this to feature request for I do not consider this a bug but set it to major for it is blocking module development.

berdir’s picture

Category: feature » bug
Priority: Major » Normal

I normal bug has a much higher chance of getting committed than a major feature, let's leave it at that. Or task, if you prefer that. Either way, I don't think this needs to be held up by our thresholds.

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 8.x. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Updated issue summary.