Bug 14383: docs: Fix some typos in documentation
All of them were found and fixed using codespell. Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
3f3a29f796
commit
1a6a734de4
3 changed files with 5 additions and 5 deletions
|
@ -19,7 +19,7 @@
|
|||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
# Here is an exemple of a simple phony webservice, returning "Hello World" if the user is authenticated
|
||||
# Here is an example of a simple phony webservice, returning "Hello World" if the user is authenticated
|
||||
# The purpose is to show how CAS Proxy can work with koha
|
||||
# In this configuration, this page acts as a CAS Client, instead of the user's browser.
|
||||
# This page is meant to be called from a foreign application
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
# Here is an exemple of a CAS Proxy
|
||||
# Here is an example of a CAS Proxy
|
||||
# The proxy is a foreign application that will authenticate the user against CAS
|
||||
# Once authenticated as a proxy, the foreign application will be able to call some
|
||||
# Koha webservices, proving authentication only by giving a proxy ticket
|
||||
|
@ -58,14 +58,14 @@ if ($cgi->param('ticket')) {
|
|||
# We validate it against the CAS Server, providing the callback URL
|
||||
my $r = $cas->service_validate( $proxy_service, $cgi->param('ticket'), pgtUrl => $pgtUrl);
|
||||
|
||||
# If it is sucessful, we are authenticated
|
||||
# If it is successful, we are authenticated
|
||||
if( $r->is_success() ) {
|
||||
print "User authenticated as: ", $r->user(), "<br>\n";
|
||||
} else {
|
||||
print "User authentication failed<br />\n";
|
||||
}
|
||||
|
||||
# If we have a PGTIou ticket, the proxy validation was sucessful
|
||||
# If we have a PGTIou ticket, the proxy validation was successful
|
||||
if (defined $r->iou) {
|
||||
print "Proxy granting ticket IOU: ", $r->iou, "<br />\n";
|
||||
my $pgtIou = $r->iou;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
# Here is an exemple of a callback page for a CAS Proxy
|
||||
# Here is an example of a callback page for a CAS Proxy
|
||||
# This is the page the CAS server will call back with a Proxy Ticket, allowing us (the foreign application)
|
||||
# to query koha webservices, being CAS authenticated
|
||||
|
||||
|
|
Loading…
Reference in a new issue