Homec4science

Provide an AuthProvider skeleton in libphutil

Authored by epriestley <git@epriestley.com> on Jun 14 2013, 16:20.

Description

Provide an AuthProvider skeleton in libphutil

Summary: Ref T1536. One of the major issues with authentication today is the tight coupling between provider APIs (e.g., how you figure out a user's account ID) and Phabricator-specific configuration (like whether a specific provider is enabled or not). To remedy this, I'm splitting auth providers apart into libphutil -- they have the provider-specific code which knows the OAuth/LDAP/OpenID protocols. The configuration and policy code will layer on top of them intead of being part-and-parcel.

Test Plan: Static only; this code is not reachable.

Reviewers: btrahan, chad, rezanachmad

Reviewed By: chad

CC: aran

Maniphest Tasks: T1536

Differential Revision: https://secure.phabricator.com/D6155

Details

Committed
epriestley <git@epriestley.com>Jun 14 2013, 16:20
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU70abbd8811b2: Make phutil_tag() / phutil_escape_html() 10-15% faster
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHUc6a347ce856d: Provide an AuthProvider skeleton in libphutil (authored by epriestley <git@epriestley.com>).Jun 14 2013, 16:20