From a76e1b4ed45025a5f03c47a6b0df8f74e34ca006 Mon Sep 17 00:00:00 2001 From: Andrew Hoffmann <andrew.hoffmann@wisc.edu> Date: Tue, 28 Apr 2015 11:22:16 -0500 Subject: [PATCH] Added additional documentation to checkLOA to mention the specific case when a user requires a Wiscard and one is not provided. Updated .gitignore to ignore Mac OSX .DS_Store files. --- .gitignore | 4 +++- src/main/edu/wisc/doit/RpcNetidClient.php | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 7f62d46..f12ca75 100644 --- a/.gitignore +++ b/.gitignore @@ -18,4 +18,6 @@ /src/main/resources/*.pem /src/test/resources/pemtest.pem -/src/test/resources/integration-test-data.ini \ No newline at end of file +/src/test/resources/integration-test-data.ini + +.DS_Store \ No newline at end of file diff --git a/src/main/edu/wisc/doit/RpcNetidClient.php b/src/main/edu/wisc/doit/RpcNetidClient.php index 154609d..dd93326 100644 --- a/src/main/edu/wisc/doit/RpcNetidClient.php +++ b/src/main/edu/wisc/doit/RpcNetidClient.php @@ -101,7 +101,10 @@ interface RpcNetidClient { * <p>The method returns a {@link RpcNetidStructValidationResponse} object. If * {@link RpcNetidStructValidationResponse::getIsValid} returns true, the identity is verified. * Otherwise, it will return false with zero or more reasons returned by - * {@link RpcNetidStructValidationResponse::getReasons} + * {@link RpcNetidStructValidationResponse::getReasons}</p> + * + * <p>If the user requires a Wiscard and one was not provided, the method will return a {@link RpcNetidStructValidationResponse} + * object with {@link RpcNetidStructValidationResponse::REASON_NEEDS_WISCARD} as one of the reasons in the array.</p> * * @param string $uid user's NetID * @param \DateTime $birthdate user's date of birth -- GitLab