From 0aa69ea795a7e19b19e9124ff99a6be19e77e5dc Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 27 Jan 2015 13:34:14 +0000 Subject: [PATCH] Bug 12027: (follow-up) Added missing documentation Signed-off-by: Nick Clemens Signed-off-by: Julian Maurice Signed-off-by: Nick Clemens --- C4/Auth_with_shibboleth.pm | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/C4/Auth_with_shibboleth.pm b/C4/Auth_with_shibboleth.pm index 5485527712..1a708aa73f 100644 --- a/C4/Auth_with_shibboleth.pm +++ b/C4/Auth_with_shibboleth.pm @@ -49,7 +49,6 @@ sub shib_ok { return 0; } - # Logout from Shibboleth sub logout_shib { my ($query) = @_; @@ -309,6 +308,22 @@ Given a shib_login attribute, this routine checks for a matching local user and my ( $retval, $retcard, $retuserid ) = C4::Auth_with_shibboleth::checkpw_shib( $shib_login ); +=head2 _get_uri + + _get_uri(); + +A sugar function to that simply returns the current page URI with appropriate protocal attached + +This routine is NOT exported + +=head2 _get_shib_config + + my $config = _get_shib_config(); + +A sugar function that checks for a valid sibboleth configuration, and if found returns a hashref of it's contents + +This routine is NOT exported + =head2 _autocreate my ( $retval, $retcard, $retuserid ) = _autocreate( $config, $match ); -- 2.39.5