From a54f5cf27641fe8d74ca27ca650b7248dcf42995 Mon Sep 17 00:00:00 2001 From: Andy Summers <andrew.summers@wisc.edu> Date: Tue, 12 Jul 2016 15:00:26 -0500 Subject: [PATCH] Update README --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ab877f2..9957d0a 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,15 @@ uw-php-security is a PHP companion to [uw-spring-security](https://git.doit.wisc.edu/adi-ia/uw-spring-security) for Java. Its purpose is to ease development of PHP applications needing details about UW users provided through Shibboleth. -Like uw-spring-security, uw-php-security provides a class called `UWUserDetails` for easily accessing common UW user attributes. This model is provided to applications through a `UserDetailsService`, and uw-php-security provides implementations suitable for both local and preauth (Shibboleth) environments. +Like uw-spring-security, uw-php-security provides a class called `UWUserDetails` for easily accessing common UW user attributes. This model is provided to applications through a `UserDetailsProvider`, and uw-php-security provides implementations suitable for both local and preauth (Shibboleth) environments. ```php <?php -use edu\wisc\doit\PreauthUserDetailsService; // or LocalUserDetailsService for local development +use edu\wisc\doit\PreauthUserDetailsProvider; // or LocalUserDetailsProvider for local development ... -$userDetailsService = new PreauthUserDetailsService(); -$user = $userDetailsService->loadUser(); +$userDetailsProvider = new PreauthUserDetailsProvider(); +$user = $userDetailsProvider->loadUser(); if ($user == null) { // handle error } -- GitLab