https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39224

--- Comment #138 from Clemens Tubach <[email protected]> ---
Created attachment 202453
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202453&action=edit
Bug 39224: Unify patron mapping and lookup into Koha::Auth::Client base class

Moves three pieces of logic into the Koha::Auth::Client base class so they are
available to all identity provider mechanisms:

- _get_mapped_data: maps raw IdP data to Koha borrower fields via provider
  mappings
- _find_patron_by_matchpoint: locates a patron by a given matchpoint value;
  throws the new Koha::Exceptions::Auth::DuplicateMatchpoint when the result
  is non-unique
- _update_patron_from_mapped_data: applies mapped data to a patron object,
  updating core borrower fields

Koha::Auth::Client::OAuth drops its local _find_patron_by_matchpoint in favour
of the shared implementation.

Signed-off-by: Clemens Tubach <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to