Update doc (#1468)

This commit is contained in:
Xavier Guimard 2018-06-30 08:41:45 +02:00
parent b6154f1ba4
commit 8a56d31a32

View File

@ -270,8 +270,9 @@ URI path:
They must be called during initialization process (so you must write the
optional init() sub).
Be carefull with C<add*authRoute()>: you can't catch here your root path (=
path declared in C<$self-E<gt>path>) because it is catched by this module.
Be careful with C<add*authRoute()>: you can't catch here your root path (=
path declared in C<$self-E<gt>path>) because it is caught by this module,
but you can catch sub-routes (ie C</path/something>).
Example:
@ -288,6 +289,13 @@ Example:
return [ 200, [ 'Content-Type' => 'application/xml' ], [] ];
}
=head2 avoid conflicts in path
If you share base URI path with another plugin (a C<Auth::*> module for
example), it is recommended to write a C<ssoMatch> function that returns true
if C<$req-E<gt>uri> has to be handled by Issuer module. See C<Issuer::SAML>
or C<Issuer::OpenIDConnect> to have some examples.
=head1 SEE ALSO
L<http://lemonldap-ng.org/>